Subset regular expression substitution

Keary Suska hierophant at pcisys.net
Thu Feb 21 13:30:23 CST 2002


on 2/21/02 11:46 AM, dave.waddell at wcom.com purportedly said:

> substr($_,0,10) =~ tr/()/ /

Nice and elegant! I keep forgetting that substr() is a legal lvalue. Perl
rocks!

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"




More information about the Pikes-peak-pm mailing list