The idea is to recreate the effect of (say) how the length function is parsed:
#!perl -w use 5.010; sub mylength(_) { length($_[0]); }; for('a','aa','aaa') { say "length :", length; say "mylength :", mylength; say "mylength :", mylength($_); };
In reply to Re: Prototype (_)?
by Corion
in thread Prototype (_)?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |