in reply to Error with CPAN module XML-BMEcat

Hi,

Problem is this code

package GroupSystem; sub new { my $class = shift; my $self = [{}];

That uses a experimental feature called "pseudo hash" that was deprecated in Perl 5.8.0 (2002-Jul-18) removed in Perl 5.10.0 (2007-Dec-18)

Therefore, the fix is much simpler than presented in Re^3: Error with CPAN module XML-BMEcat,

the fix is to inherit from Class::PseudoHash

package GroupSystem; use Class::PseudoHash; @GroupSystem::ISA = 'Class::PseudoHash';

Replies are listed 'Best First'.
Re^2: Error with CPAN module XML-BMEcat ( Not a HASH reference , Class::PseudoHash )
by derion (Sexton) on Aug 11, 2017 at 12:26 UTC
    Works like a charm, thank you very much!