in reply to Re: Custom Module question
in thread Custom Module question
In fact the missing package name related error is shown by the OP:
Undefined subroutine &main::printname called at testmodule.pl line 8.
in the last line of the error output shown.
As a general thing I prefer to use an explicit package instead of Exporter to avoid name clashes and make the province clear.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Custom Module question
by davido (Cardinal) on Dec 03, 2014 at 23:17 UTC |