Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Problem with accessing hash Module::CoreList::version with $]

by XooR (Beadle)
on Apr 24, 2009 at 10:39 UTC ( [id://759789]=note: print w/replies, xml ) Need Help??


in reply to Re: Problem with accessing hash Module::CoreList::version with $]
in thread Problem with accessing hash Module::CoreList::version with $]

betterworld sad:
Apparently, this special variable is only a string in perl 5.10, even though the documentation seems to suggest that it be a floating point number. If you use $]+0 in your example, it'll work (which is kind of strange because ordinary hash keys are converted to strings anyway, but in this case I think we are dealing with a tied hash).
Thanx, that's solved it. I will read about tied hashes and see if this is a problem.
  • Comment on Re^2: Problem with accessing hash Module::CoreList::version with $]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-19 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found