in reply to Module dependency
You can also use the Exporter stuff to export functions from one module into another that uses it. I won't go into details about this. Check out the perlmod documentation as well as the stuff for the Exporter module.package a; sub a_test { print "Hello, world!\n"; } package b; &a_test; # fails &a::a_test; # Hello, world!
|
|---|