in reply to while(){}continue{}; Useful?
So, yeah, it's not very useful, especially given the scope issue.LINE: while (<STDIN>) { next LINE if /^#/; # skip comments next line if /^$/; # skip blank lines ... } continue { $count++; }
Elda Taluta; Sarks Sark; Ark Arks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: while(){}continue{}; Useful? (Consistent!)
by LanX (Saint) on Mar 03, 2010 at 23:11 UTC | |
by BrowserUk (Patriarch) on Mar 03, 2010 at 23:41 UTC | |
by LanX (Saint) on Mar 04, 2010 at 00:24 UTC | |
by BrowserUk (Patriarch) on Mar 04, 2010 at 01:16 UTC | |
by LanX (Saint) on Mar 04, 2010 at 01:22 UTC | |
by Argel (Prior) on Mar 04, 2010 at 21:28 UTC |