Hi,

What is the reason this following works
  $hours{$hour}->{count} + 1

but this not works?
  $hours{$hour}->{count}++


it actually part of this code:

      $hours{$hour} = { occur => $occur_utc,
                        delay => $hours{$hour}->{delay} + $delay,
                        count => $hours{$hour}->{count} + 1
                      };

Thanks.


--budhi

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to