What do you expect
to do? Where is $_ getting set?$class=$_;
I think you mean to write
since the package name (e.g., "ABC") get passed as the first argument when you writemy $class = shift;
ABC->new();
In reply to Re: On Perl Objects!
by dws
in thread On Perl Objects!
by newbio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |