Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
foreach(@lines) { if ($_ !=~ m/^#/g) { print "yahoo!"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex to check for beginning character
by Limbic~Region (Chancellor) on Mar 05, 2004 at 15:12 UTC | |
|
Re: Regex to check for beginning character
by perrin (Chancellor) on Mar 05, 2004 at 15:33 UTC | |
by Nkuvu (Priest) on Mar 05, 2004 at 16:39 UTC | |
by Anonymous Monk on Mar 05, 2004 at 20:58 UTC | |
|
Re: Regex to check for beginning character
by davido (Cardinal) on Mar 05, 2004 at 16:44 UTC | |
|
Re: Regex to check for beginning character
by bart (Canon) on Mar 06, 2004 at 00:23 UTC | |
|
Re: Regex to check for beginning character
by UnderMine (Friar) on Mar 05, 2004 at 17:38 UTC | |
|
Re: Regex to check for beginning character
by ysth (Canon) on Mar 21, 2004 at 05:13 UTC | |
|
Re: Regex to check for beginning character
by slloyd (Hermit) on Mar 05, 2004 at 20:05 UTC | |
|
Re: Regex to check for beginning character
by ysth (Canon) on Mar 09, 2004 at 04:09 UTC |