This is how I try to remember this. push takes a list as argument and hence $_ cannot be taken as a default argument for this.
Update But then as Smylers pointed out print also takes a list of arguments but still takes $_ as default argument when there is none. puzzling ??
use perl; use strict;
In reply to Re: Re: •Re: perl 1-liner to join a list?
by thens
in thread perl 1-liner to join a list?
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |