in reply to Re: backslash found where operator expected at
in thread backslash found where operator expected at
This doesn't:sub call_ses { my $params = shift; my $opts = shift; %opts = %$opts; %params = %$params; my $endpoint_name = $endpoint; }
sub call_ses { my $self = shift; my $params = shift; my $opts = shift; %opts = %$opts; <-- Line 559 %params = %$params; my $endpoint_name = $self->AWS_endpoint; }
Should I abandon $self and just call the subs like I did in the working version? Thanks to the Monastery for all the years of saving my butt as I stumbled through PERL.Can't use an undefined value as a HASH reference at /usr/share/perl5/vendor_perl/SES.pm line 559 (#1) (F) A value used as either a hard reference or a symbolic referenc +e must be a defined value. This helps to delurk some insidious errors. Uncaught exception from user code: Can't use an undefined value as a HASH reference at /usr/share +/perl5/vendor_perl/SES.pm line 559. SES::call_ses('HASH(0x243cc00)', 'HASH(0x26a2138)') called at +/opt/aws/apitools/ses/bin/ses-get-stats.pl line 168
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: backslash found where operator expected at
by haj (Vicar) on May 06, 2021 at 21:33 UTC | |
by jmc (Initiate) on May 06, 2021 at 22:05 UTC | |
|
Re^3: backslash found where operator expected at
by AnomalousMonk (Archbishop) on May 06, 2021 at 21:58 UTC | |
by jmc (Initiate) on May 06, 2021 at 22:11 UTC | |
|
Re^3: backslash found where operator expected at
by Anonymous Monk on May 07, 2021 at 15:03 UTC |