This error is just too easy to make. I used to use h2xs but it creates so much stuff that I avoid using it. I was at a Perl conference where one of the Stonehenge presenters used a 'new' tool to create classes but I forgot what it was.
h2xs -AXn Goo Defaulting to backwards compatibility with perl 5.40.1 If you intend this module to be compatible with earlier perl versions, + please specify a minimum perl version with the -b option. Writing Goo/lib/Goo.pm Writing Goo/Makefile.PL Writing Goo/README Writing Goo/t/Goo.t Writing Goo/Changes Writing Goo/MANIFEST joel@PLANTER1 goo]$
This does not create a 'new' boilerplate for you...
... our $VERSION = '0.01'; # Preloaded methods go here. ...
Other stuff but no 'new'. A new() method in the preferred fashion would be good, no?
Celebrate Intellectual Diversity
In reply to Re^2: Perl Inheritance Not Working as Expected
by InfiniteSilence
in thread Perl Inheritance Not Working as Expected
by InfiniteSilence
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |