Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Monday March 30, 2009
04:37 PM

Non-Existent Packages

[ #38728 ]

This line of code:

my $employee = Employee::Hourly->new;

Has generated this error message:

Can't locate object method "new" via package "" at ...

Of course, given what I'm trying to do, it makes perfect sense. Strange, strange code.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Does Employee::Hourly::->new work better? I've never actually needed to do this but I've wondered who might actually run into this in practice.