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