Hi all:

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

Thanks in advance
"A loving perl newbie"



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to