Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Re: Incrementing a Hash Value

by Juerd (Abbot)
on Jun 14, 2002 at 15:15 UTC ( [id://174698]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Re: Incrementing a Hash Value
in thread Incrementing a Hash Value

Only what the standard, or the documentation, guarantees is valid to count on. Everything else should be considered a quirk of the implementation.

Shouldn't there be a lot more documentation, then? Increments and decrements are not the only things being documented vaguely.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.

  • Comment on Re: Re: Re: Re: Incrementing a Hash Value

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Incrementing a Hash Value
by Elian (Parson) on Jun 14, 2002 at 15:47 UTC
    Yep, there should be, or at least more specific docs on how things should act. Perl is awfully fuzzy about the behaviour of a lot of things. (Witness the fact that perl only recently nailed down the behaviour of numeric operations)

    As a for example, in this:

    $a = $a + $a++;
    what should $a equal at the end? And if $a is tied or overloaded, what order should the tie/overload stuff be called in?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://174698]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.