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

Re: Incrementing a Hash Value

by Juerd (Abbot)
on Jun 14, 2002 at 13:34 UTC ( [id://174650]=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 Incrementing a Hash Value

$thes_name{$fields[1]} = thes_name{$fields[1]}++;

This being a no-op, and all postincrement stuff aside, you're missing a $ before thes_name.

19:29 < ua> did anyone bother mentioning to the guy that he was missing a '$'
            in his postdec?
(No, just placing the $ there won't do what you want. The correct example has already been given.)

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://174650]
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.