In mychop shift() gives you a copy of the string which you can modify.
Nope, thanks to the prototype (\$), shift() gives you a copy of a reference to the string, which (when derefed), you really should not be able to modify.
print "Just another Perl ${\(trickster and hacker)},"
The Sidhekin proves Sidhe did it!
In reply to Re^2: foreach funny business
by Sidhekin
in thread foreach funny business
by krunchky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |