Hi Monks,
I have a very basic doubt, but its troubling me, I was reading OOP in Perl and saw that at all the instances inside the subroutene new, which is called a constructor, we make use of anonymous hash, whats the reason, why do we do that, why cant we make a named hash and use use the reference to that named hash.
Thanks in advance !!
In reply to Anonymous Hash in Constructor by puneet.keswani
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |