Tomas Corral wrote: > Hi all:
Hi Tomas, Please start a new message to the group when you have a new subject. Your message was lost in a thread concerning Network Shiffer Modules. > > > I cannot include a file so it can return all the variables I assigned. > > #FILE1.pl > $var1= "tom"; > > #FILE2.pl > do FILE1.pl > #open $prog,'FILE1.pl' or die $!, > #use 'FILE1.pl' > #import 'FILE1.pl' > > print("var1=$var1"); > > I hanged arround perldoc perlfunc and google and... I guess I need help Don't do this. This is not a productive use for your efforts. If you explain why you would want to declare a variable in some other file, we can point you toward better ways to accomplish your purpose. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>