* Shlomi Fish <[EMAIL PROTECTED]> [040101 18:28]:
> On Wed, 31 Dec 2003, Nadav Har'El wrote:
> > On Tue, Dec 30, 2003, Gustavo Halperin wrote about "Re: [Haifux] sms in israel":
> > > The script does not find the file "Encode.pm", that is in the directory
> > >          usr/share/perl5/Mail/Message/Body/
> >
> > It appears that the Encode stuff is perhaps available only in Perl 5.8, and
> 
> It is actually possible to try to load Encode and if it fails, just
> perform something else or define a decode/encode function that does
> nothing.

Something like that should do it (taken from my WebSec program):
eval { "load Compress::Zlib;" } or $feature_compress=0;

Baruch

--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]


Reply via email to