![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: how to print out side of for loop?by Anneq (Vicar) |
on May 29, 2013 at 10:46 UTC ( #1035811=note: print w/replies, xml ) | Need Help?? |
Declare: $my index;at the beginning of your script.
$_ is a special variable that acts as your $index would if you omit it. Google for perl special variable $_ examples for more info. marto, the responses in his previous post were excellent but VERY technical. Unless you are familiar with perl and programming lingo, they may be difficult to understand. Anne
In Section
Seekers of Perl Wisdom
|
|