in reply to Re^2: How can I import a function and set a parameter at the same time?
in thread How can I import a function and set a parameter at the same time?

In that possible but odd case, the following would do:
use MyModule qw( MyFunction ); BEGIN { MyFunction('HelloWord'); } # Execute as soon as compiled.
  • Comment on Re^3: How can I import a function and set a parameter at the same time?
  • Download Code