>>>>> "aditi" == aditi gupta <aditi9783@...> writes:
aditi> Which one of the two versions of blessing is better?
aditi> The 'two parameter' version. e.g. bless $objref, $class;
aditi> Or the 'no parameter' version.
One-argument "bless" was a mistake. Always use the two-argument version.
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!