START blocks provide "do once" capability in Perl 6.
Whoa! I will stop complaining like whatever the common English idiom for a recurring, annoying and insisting whiner is.
Would someone care how it would apply to the original (Perl 5) example?
while ( <FH> ) { next if $_ eq 'foo'; # Where foo can only appear once in the file print; }
In reply to Re^4: what would you like to see in perl5.12?
by blazar
in thread what would you like to see in perl5.12?
by ysth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |