Hello, I just started programming in perl and currently am working in
an OOP sort of program. I am writing the constructor and I wasn't sure
of the differences between the following syntax:

'count' => 0

@count = 0

Both seem to work fine, but I would like to know how they are
different and whether or not one is better or more proper for
programming in Perl.

Can someone explain this to me?


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to