in reply to Re^2: Using "USE" instead of "DO" for subroutines call in external file
in thread Using "USE" instead of "DO" for subroutines call in external file
I just noticed your use syntax, say
to load the module. I see a syntax error for that, rather than not returning true, though.use mysub; # not # use mysub.pm;
Your example works for me.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Using "USE" instead of "DO" for subroutines call in external file
by Anonymous Monk on May 27, 2005 at 07:31 UTC | |
by Zaxo (Archbishop) on May 27, 2005 at 07:53 UTC |