Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: "Useless use of a constant" in grep block?

by dsheroh (Monsignor)
on Jul 30, 2017 at 09:48 UTC ( [id://1196294]=note: print w/replies, xml ) Need Help??


in reply to Re: "Useless use of a constant" in grep block?
in thread "Useless use of a constant" in grep block?

So, either you're using some other version (please state which), or the code you posted is not the code that generated that warning.
Or option 3: The point of the OP wasn't "why did I get this warning?", but, rather, "I made this mistake and didn't get a warning. Maybe it should issue one?"
  • Comment on Re^2: "Useless use of a constant" in grep block?

Replies are listed 'Best First'.
Re^3: "Useless use of a constant" in grep block?
by kcott (Archbishop) on Aug 02, 2017 at 01:44 UTC

    Firstly, my apologies for the late reply. I usually log in daily; this week I skipped a couple of days.

    I read the quote in the title ("Useless use of a constant") as the message received after making "a stupid mistake"; and the quote in the body ("Probably useless use of a constant ...") as the preferred message.

    On rereading, I think you're right and my interpretation was incorrect.

    — Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-18 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found