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?
use MyModule qw( MyFunction ); BEGIN { MyFunction('HelloWord'); } # Execute as soon as compiled.
|
|---|