On 11-11-22 01:25 PM, Noah wrote:
Is there an easy way to get variables defined from another file?
specifically I have a series of scalar, array, and hash variables in an
external file.  How can I use those variables defined and used in the
main perl program?

See:
perldoc -f use
perldoc -f require
perldoc -f do

One of them is bound to do what you want.


--
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

Never give up your dreams.  Give up your goals, plans,
strategy, tactics, and anything that's not working but never
give up your dreams.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to