Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: hash reference doubt

by jethro (Monsignor)
on Jul 20, 2009 at 09:50 UTC ( #781577=note: print w/replies, xml ) Need Help??


in reply to hash reference question

The warning normally would be an error, but there was a bug in some old perl versions so that using %x->{} would be accepted. Since a lot of scripts inadvertently had used this bug (i.e. made a mistake that couldn't be found because the interpreter still did the right thing) the bug only received a warning so that those old scripts don't break.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://781577]
help
Chatterbox?
[TCLion]: Good Morning Monks, I am parsing logs and some date time formats are inconsistent. I am trying to make output all same format. What is the best way to convert a month(word) to month(number)?
[Corion]: TCLion: I'm not aware of a better way than manually building the hash, as all strptime incarnations I know have nasty edge cases
[davido]: And remember; time is hard. :) As soon as you think, I've got this, you'll discover that time is harder than that. :)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-03-23 14:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (287 votes). Check out past polls.