Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: using a subroutine

by xjlittle (Beadle)
on Aug 10, 2004 at 00:28 UTC ( [id://381405]=note: print w/replies, xml ) Need Help??


in reply to Re: using a subroutine
in thread using a subroutine

This worked beautifully! Now all I need is to understand the map command better. I haven't seen that before. Thanks for the link and the advice!

I do have a question though. When I first set this up I had a comma between (/home/john /lib) in the first line of code:
my ($user, $lib) = qw(/home/john /lib);

which caused it to not work. Why does the comma have this affect on this or any other script?

John

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2024-04-23 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found