|
In a message dated 11/4/2005 10:50:15 A.M. Eastern Standard Time,
[EMAIL PROTECTED] writes:
> my $var1 = 100 ;
lexical (my) variables have file-scope only. try:
our $var1 = 100;
> sub sub_test{ > print "Sub sucessfully imported" ; > } > 1; > END{} may not be critical, but more standard order is:
END { }
1;
abdel -- try above changes. hth -- bill
walters
|
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
