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

Re: Re: Re: Re: Re: Re: Re-calling in a list of variables into different .pl's

by Lori713 (Pilgrim)
on Feb 10, 2004 at 21:57 UTC ( [id://328050]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Re-calling in a list of variables into different .pl's
in thread Re-calling in a list of variables into different .pl's

The use vars in the main program was necessary (because of the errors it generated without it regarding undeclared variables) until I changed it as you suggested to:
our @EXPORT; use vars @EXPORT=qw/ list of var names/;
I now only have two lists, both of them in the package (where it's easy to keep them synchronized (love that copy & paste!)).

Thanks so much for your help!

Lori

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://328050]
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-03-29 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found