in reply to Re: foreach funny business
in thread foreach funny business

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!