I don't understand what is happening here. Why not:sub new { my $cname = shift; my $class = ref($cname) || $cname;
Thanks in advancesub new { my $class = shift ; .....
In reply to Objects and references by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |