go ahead... be a heretic | |
PerlMonks |
Error with CPAN module XML-BMEcatby derion (Sexton) |
on Aug 10, 2017 at 09:02 UTC ( [id://1197137]=perlquestion: print w/replies, xml ) | Need Help?? |
derion has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I am trying to use the XML-BMEcat Module and I presume that there is a problem with something outdated but I am absolutely stuck. There are some subroutines with similar problems, e.g.:
Calling it with:
Throws an error and the script stops: Not a HASH reference at /cpan/XML/BMEcat.pm line 637. which is (exists $self->{$key}) ? return $self->{$key} : Data::Dumper gives me$VAR1 = bless( {} , 'GroupSystem' ); $VAR2 = '02';for @_ Now I cannot stop thinking that it must be about exists defined but that seems not logical to me. I tried it on perl 5.10.1 and 5.20.2 which are the versions I have available on webservers. As far as I read everywhere exists is not deprecated but defined is that makes me think I am on the wrong track thinking about this part of the subroutine. I would appreciate any hint into the right direction. Cheers Niko
Back to
Seekers of Perl Wisdom
|
|