Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Just another Perl shrine
 
PerlMonks  

Multiple variables & values in one line

by einerwitzen (Sexton)
on Dec 22, 2003 at 10:38 UTC ( [id://316392]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Multiple variables & values in one line

The goal of it is actually be able to load it from an outside source. Kind of like...

@test eq ('billy', 'colorado', '21'); my ($name, $state, $age) = (@test); print "$name\n$state\n$age\n";
I am trying this because I couldn't figure out how to use the require() command. If you think that would work better an example of that would be good.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://316392]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.