Perl: the Markov chain saw | |
PerlMonks |
Re: Easiest way to do something only on first iteration of loopby AnomalousMonk (Archbishop) |
on May 07, 2016 at 01:14 UTC ( [id://1162422]=note: print w/replies, xml ) | Need Help?? |
Sweeten with ... unless $i == 0; or ... if $i != 0; etc. to taste. (Doesn't require 5.10+.) Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|