for (0..5) { # stuff goes here }
If you require lexical scoping of the iteration variable, you can do so with the variable name and the my keyword.
This syntax and the range operator are discussed in perlsyn and perlop respectively.
perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'
In reply to Re: Re: using strict and functions
by rob_au
in thread using strict and functions
by idunno
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |