Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
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.
Constants... (Score:1)
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.
Re: (Score:2)
No. I'm familiar with the bug you're referring to, but this was actually caused by my programmatic enforcement of Liskov [perl.org]. It's very strange code and I had a terrible bug in it. (there are still terrible bugs in it, but it works)