On Thu, Mar 24, 2011 at 5:34 PM, Jins Thomas <[email protected]> wrote:
>
> I was just comparing hash in Perl. In Perl 'if i in count: else:'
> statement
> is not required i could simply uses count{i} +=1 even if it exists or not
> exists.
This is a Perl feature known as autovivification.
http://en.wikipedia.org/wiki/Autovivification
reg,
sateesh
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers
