in reply to 4**Re: OO Perl Problems
in thread OO Perl Problems
Here main::Class is called by accident...H:\>perl package Class; sub new { print "hello\n"; } package main; sub Class { print "not in Class\n"; } Class->new(); ^Z not in Class Can't call method "new" without a package or object reference at - lin +e 9. H:\>
Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"
|
|---|