[sf-perl] dynamic use command
Randy J. Ray
rjray at blackperl.com
Thu Apr 3 18:45:31 PDT 2008
Stephen Nelson wrote:
> I think you meant
>
> eval("use Net::SMTP::SSL");
>
> if ($@) {
> print "$net_smtp_ssl is missing\n";
> exit;
> }
>
>
> Otherwise I suspect it'll just do the block eval and evaluate the string.
Ummm, yeah. What he said. This sort of thing happens when you're juggling too
many thought-threads at once...
--
===============================================================================
Randy J. Ray rjray at blackperl.com
Sunnyvale, CA http://www.rjray.org
http://www.svsm.org
More information about the SanFrancisco-pm
mailing list