laziness, impatience, and hubris | |
PerlMonks |
Re: (tye)Re: [substr] anomaly or mine?by Chmrr (Vicar) |
on Aug 19, 2002 at 23:57 UTC ( [id://191349]=note: print w/replies, xml ) | Need Help?? |
Using that logic, then, you would expect: print substr($s,0,4)='',$s;..to print: |k brown fox jumps over the lazy dog..as it would return what it was just set to. perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In Section
Seekers of Perl Wisdom
|
|