Hi, I think the best way this can be done is using perl module or .pm file and then using it(use .pm ) and then calling functions.
-----Original Message----- From: Noah [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 4:15 PM To: Perl Beginners Subject: use variables from another file Hi there, I have created a common perl file that other perl programs can refer to so I only have one place to set the values for many different perl programs. all perl programs will call this common perl file. How can this be done? Cheers, Noah -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/