Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Ben Morrow
June 17, 2009, 11:04 pm
rate this thread
Um, if $self or -> were undef the method call would have croaked.
I would try separating out the calls
my $status = $self->->hp_gdStatusId;
$status or die "can't get Neon status ID";
my $str = $status->;
and then checking the docs for whatever class the -> object
belongs to to see why ->hd_gdStatusId might be returning undef. It may
well provide some sort of ->error method that will tell you what went
- » FAQ 3.23 Can I write useful Perl programs on the command line?
- — Next thread in » PERL Discussions