http://qs1969.pair.com?node_id=594133

palette has asked for the wisdom of the Perl Monks concerning the following question:

Can anyone tell whether it is valid code
one.pm
package one; @ISA = qw(Exporter); @EXPORT = qw(method1); sub method1 { print "method1 greets hello"; } 1;

two.pl
use one; print "its here"; method1; print "here";

While trying to execute two.pl I am able to see only the following output "It's herehere". Why is the print statement inside the function method1 not displayed. Please correct me if there is any mistake.



It must be something really simple.