Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by TilRMan (Friar)
on May 15, 2004 at 20:18 UTC ( #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.


Comment on Re: Re: Re: Re: Declaring variables - is it legal to do this?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://353677]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2015-07-02 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (34 votes), past polls