>===== Original Message From James Edward Gray II <[EMAIL PROTECTED]> 
=====
>If you want it in hash form, as it looks from your example, just copy
>it to a hash:
>
>my %hash = @_;

Remember though that if you are passing anything in scalar context, like an 
scalar or a reference, or more than one paramenter, that you need to put the 
lvalue in parens to give it list context, like this:

my ($scalar) = @_; # my $scalar = @_ assigns num_elements in @_ to $scalar

my ($scalar, $arrayref) = @_;

Nathanael Kuipers


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to