WSDL::Compile allows you to call your own methods - in this example just after $self was created.
To install WSDL::Compile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WSDL::Compile
CPAN shell
perl -MCPAN -e shell install WSDL::Compile
For more information on module installation, please visit the detailed CPAN module installation guide.