Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by jdporter (Paladin)
on Jul 02, 2005 at 17:44 UTC ( [id://471944]=note: print w/replies, xml ) Need Help??


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

No, you've completely missed kaif's point. You cannot   my %_ ever. It is illegal. By your response, your solution was to use a different variable name, not "convert the array to hash via a list form".

Replies are listed 'Best First'.
Re^4: The default hash - accident, coincidence or conspiracy?
by anonymized user 468275 (Curate) on Jul 04, 2005 at 08:26 UTC
    Illegal? It is treated as such in the sense that it was globally reserved and thereby prevented, but until it is documented as such, it can't be called 'illegal'.

    One world, one people

      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.

        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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-20 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found