Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Accessing HASH pushed into @array ('strict refs' in use error)

by kcott (Archbishop)
on Jan 08, 2014 at 10:09 UTC ( #1069756=note: print w/replies, xml ) Need Help??


in reply to Accessing HASH pushed into @array ('strict refs' in use error)

G'day sbrothy,

Welcome to the monastery.

There's a number of places in your code where you are making constants look like strings due to the surrounding code.

This is all explained in "constant: CAVEATS" with examples of how to fix "$hash{CONSTANT}" and "CONSTANT => 'value'".

-- Ken

Replies are listed 'Best First'.
Re^2: Accessing HASH pushed into @array ('strict refs' in use error)
by sbrothy (Acolyte) on Jan 09, 2014 at 16:15 UTC
    Thanks. Again the constants was a leftover from my C days. I removed them all and lo and behold it runs just as nice without them. :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-10-04 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (17 votes). Check out past polls.

    Notices?