is not necessarily what you want.sub msg { $msg_num = @_[0]; # ...
@_[0] # An array slice $_[0] # The first element of the array @_ (usually passed to the subro +utine)
In reply to Re: calling a sub from an if statement
by le
in thread calling a sub from an if statement
by cburns
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |