which does not change the values passed to foo at all?perl -e "@m=('hal', 'bob', 'didi'); sub foo {substr(@_[-1],-1) }; prin +t &foo(@m); print qq(\n@m);"
Celebrate Intellectual Diversity
In reply to Re: chop() and list assignments
by InfiniteSilence
in thread chop() and list assignments
by converter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |