develooper 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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About