in reply to Re^2: can I make my regexp match first pattern instead of last?
in thread can I make my regex match first pattern instead of last?
Use the string as a file:
my $fileContents; open my $scan, '<', \$fileContents; while (defined (my $block = <$scan>)) { ... } close $scan;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: can I make my regexp match first pattern instead of last?
by kleucht (Beadle) on Oct 25, 2008 at 22:39 UTC | |
|
Re^4: can I make my regexp match first pattern instead of last?
by kleucht (Beadle) on Sep 18, 2009 at 15:24 UTC | |
by toolic (Bishop) on Sep 18, 2009 at 17:33 UTC |