Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-24 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found