Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: The default hash - accident, coincidence or conspiracy?

by jdporter (Canon)
on Jul 04, 2005 at 18:42 UTC ( #472284=note: print w/ replies, xml ) Need Help??


in reply to Re^4: The default hash - accident, coincidence or conspiracy?
in thread The default hash - accident, coincidence or conspiracy?

No, it is illegal, because if you put it in a perl program, the program will not run. You get a fatal error during compilation.

For better or worse, the Perl language (unlike most) is defined by the implementation, not by a document. If the behavior in question isn't documented, that is simply a documentation bug.

ObDisclaimer: This refers to Perl5 (and prec.) only.


Comment on Re^5: The default hash - accident, coincidence or conspiracy?
Re^6: The default hash - accident, coincidence or conspiracy?
by SimonClinch (Chaplain) on Jul 05, 2005 at 08:11 UTC
    That's like saying that what the police arrest you for defines the law rather than what is determined by the government.

    Occasionally there will be a bug in perl which shouldn't be 'fixed' in the documentation.

    One world, one people

      You're right, it is like saying that. And that is the way it is. (Mind you, I'm not saying this is good...) And anyway, this is just a programming language. It doesn't matter, in the grand scheme of things, that perl is defined by its implementation.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-12-21 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls