"be consistent" | |
PerlMonks |
Re^2: Printing Last Element of a line using perl memory?by igelkott (Priest) |
on Feb 15, 2013 at 00:42 UTC ( [id://1018819]=note: print w/replies, xml ) | Need Help?? |
Might just be style but I'd make the trailing whitespace removal a bit more specific ("\W" to "\s"): m/(\w+)\s*$/;
In Section
Seekers of Perl Wisdom
|
|