in reply to Re^2: backslash found where operator expected at
in thread backslash found where operator expected at

$self as the first parameter of a subroutine is required if - and only if - the subroutine is called as an object or class method, and the name "self" is just a convention for the object or class the method operates on. You did not provide the code how you're calling call_ses and the only reference I found for your module is that aws-apitools have been deprecated as of 2015. Perhaps you might want to have a look for CPAN modules which provide an interface to SES, like e.g. Net::AWS::SES or Paws::SES?

  • Comment on Re^3: backslash found where operator expected at

Replies are listed 'Best First'.
Re^4: backslash found where operator expected at
by jmc (Initiate) on May 06, 2021 at 22:05 UTC
    Apologies, I should have noted the code being used to call call_ses is the same code as in the original post. I am looking at modules but rewriting this isn't really an option, it's a legacy system that is failing now due to the AWS signature version change from 3 to 4. I'm just trying to get it to send the Signature V4 header instead of the V3.