And then in your calling script:package EmailSender; use base 'Exporter'; our @EXPORT_OK = ( 'send_email' ); ... 1;
use EmailSender 'send_email';
In reply to Re: Undefined subroutine
by friedo
in thread Undefined subroutine
by Trihedralguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |