From: "Dan Muey" <[EMAIL PROTECTED]> > > I have installed a newer version of Mail::Sender and now > > that won't run because it needs to > > use warnings; > > > > I can't seem to get warnings installed via CPAN Module and I > > can't find a download for it on cpan. > > > > On cpan it's under the perl 5.8.0 section so does that mean I > > need to upgrade perl? > > > > Is there any way to either : > > 1) get Mail::Sender to not use warnings; > I got this to work by commenting out the use warnings and other > warnings lines. Probably no the best idea but it works. Any other > ideas would be welcome.
You have it affirmed by the module author :-) I'll change the instalation script of Mail::Sender to tweak the .pm for your Perl. Don't hold your breath. Anyway the only difference between >=5.6 and <=5.005 versions will be those two lines commented out. Another option would be to create a file warnings.pm in your library directory with something like this: package warnings; sub import {} sub unimport {} 1; Of course this will not do anything more than silence the Can't locate warnings.pm in @INC message. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]