sub someFunc { my $i; local $"; for (qw( this that otherfield )) { die "$_ is undef" unless defined $_[$i++]; } "@_"; }
In reply to Re: Re: Maintaining strict refs while Binding a set of variables to @_ or dying if they are not defined
by japhy
in thread Maintaining strict refs while Binding a set of variables to @_ or dying if they are not defined
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |