[EMAIL PROTECTED] wrote:
> Ok fantastic, I totally understand that, and if there were going to be
> more than one thing passed, just insert $par2 = shift; on the next
> line and then the second argument is in $par2, I assume.....right??

Yes.

You might also see it this way:

   my ($par1, $par2) = @_;

The latter construct is not destructive of @_, while using shift() is. It
usually doesn't matter.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to