Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Surprise: "Can't modify constant item in scalar assignment" [SOLVED]

by Anonymous Monk
on Jan 19, 2012 at 16:26 UTC ( #948808=note: print w/replies, xml ) Need Help??


in reply to Surprise: "Can't modify constant item in scalar assignment" [SOLVED]

This code gives: Bareword "message" not allowed while "strict subs" in use at…

If you don't see that, then you do already have a sub message in scope, so strict cannot help you without being able to read your mind.

  • Comment on Re: Surprise: "Can't modify constant item in scalar assignment" [SOLVED]
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://948808]
help
Chatterbox?
[james28909]: i see the predicament here.
[james28909]: maybe rename it to 'query'
[james28909]: but then you have the others as well
[Lady_Aleena]: Renaming things like get_THAC0 to just THAC0 was easy. These are harder.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-05-24 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?