|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^2: How to club different lines of program into oneby akho (Hermit) |
| on May 26, 2009 at 16:41 UTC ( [id://766253]=note: print w/replies, xml ) | Need Help?? |
|
$text = <IN>; will not work like you want it to if you do not undef $/.
Regexen stop after the first match; you may gain a performance benefit, but not for the reason you cite.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||