![]() |
|
"be consistent" | |
PerlMonks |
Re: Curious behavior of Useby cavac (Prior) |
on Feb 24, 2025 at 16:04 UTC ( [id://11164070]=note: print w/replies, xml ) | Need Help?? |
Say your module is in /home/geoffleach/src/lib/My/Example.pm, something like this should work:
It's important that the BEGIN block is before the use statement.
PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP Also check out my sisters artwork and my weekly webcomics
In Section
Seekers of Perl Wisdom
|
|