in reply to Re^4: while(){}continue{}; Useful? (Consistent!)
in thread while(){}continue{}; Useful?
No nesting required?
LINE: while ( <STDIN> ) { unless( /^#/ # its a comment or /^$/ # or blank line ) { ... ## do whatever } $count++; ## and count them all }
Update: Darn! Wrong place!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: while(){}continue{}; Useful? (Consistent!)
by LanX (Saint) on Mar 04, 2010 at 01:22 UTC |