----- Original Message -----
From: "Jenda Krynicky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 26, 2001 4:44 AM
Subject: Re: @_

> When you cann a function all the parameters you gave it end up in
> @_. You can (and usualy do) copy them then into some lexical
> variables to give them meaningfull names. You don't have to
> though.

----> If for example <----  you wanted to write a function that sums two

I like your style, in fact I think everybody should follow Jenda's style of
giving an example after an explanation ; an example paints a thousand words.

> numbers you can write it either as
> sub add {
> my ($a, $b) = @_;
> return $a + $b;
> }

On the above, so what is @_?
@_ = ?

Thanks.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to