in reply to Re^3: strange constants.pm warning
in thread strange constants.pm warning
I noticed there were 2 constants defined. I moved the 2nd to the top , and now THAT one throws the warning , but the other is fine. So whichever is first throws a warning!
This makes me wonder- the author doesn't declare:
above these pragmas. maybe that would fix this? I don't see that in the Metacpan but perhaps they're incomplete examples?use constant;
APPRECIATE all the kind advice guys- I'll wait for the admin to get my module updated and pray for better results :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: strange constants.pm warning
by tobyink (Canon) on Sep 03, 2021 at 11:38 UTC |