Case 1: Because our module exports nothing by default we get errors...
When I run Case 1, I get this error, as expected:
Undefined subroutine &main::func1 called at ...
Case 3 will also generate an error; Cases 2 and 4 should work properly.
In reply to Re^3: how to write a module
by toolic
in thread how to write a module
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |