|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re^4: How to use __DATA__ efficiently, help!by Anonyrnous Monk (Hermit) |
| on Feb 09, 2011 at 20:02 UTC ( #887268=note: print w/ replies, xml ) | Need Help?? |
|
You probably meant
or just (as $_ is the default anyway)
s/// returns the number of substitutions made, so as you have it, you're appending that number to $_.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||