Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: Re: Declaring variables - is it legal to do this?

by TilRMan (Friar)
on May 15, 2004 at 20:18 UTC ( [id://353677] : note . print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Declaring variables - is it legal to do this?
in thread Declaring variables - is it legal to do this?

I've always used:

(my $name, my $dept, undef, my $status) = get_info();
but I can't remember why. Did 5.00[45] allow this syntax? I guess I don't have to anymore.