12345678910
#!/usr/bin/perluse strict;use warnings;my $i=5;&test($i);sub test{ print 'rechnen in der for-schleife: ',$_+$_,"\n" for(1..shift);}