Front page | perl.beginners |
Postings from April 2012
a question about @ISA
Thread Next
From:
xiaolan
Date:
April 9, 2012 01:13
Subject:
a question about @ISA
Message ID:
CAKr5UA7MqdxdeD7ZnUJAApNErpFOfhzzMAz+ZqTkb05dc03U9g@mail.gmail.com
Hi,
I just want to send email using MIME::Lite with Net::SMTP::SSL.
But MIME::Lite is going only with Net::SMTP by default.
So I searched and found a hack:
use Net::SMTP::SSL;
BEGIN { @MIME::Lite::SMTP::ISA = qw(Net::SMTP::SSL); }
This does work, now I can send messages with SMTPs.
But how does this work? Thank you.
Regards.
Thread Next
-
a question about @ISA
by xiaolan