Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: strange constants.pm warning

by misterperl (Pilgrim)
on Aug 31, 2021 at 18:16 UTC ( [id://11136312]=note: print w/replies, xml ) Need Help??


in reply to Re^3: strange constants.pm warning
in thread strange constants.pm warning

Your suggestion of the potential of unprintables was very astute- I removed the line and carefuly re-typed it. Same 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:

use constant;
above these pragmas. maybe that would fix this? I don't see that in the Metacpan but perhaps they're incomplete examples?

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136312]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-19 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found