From: "Dan Muey" <[EMAIL PROTECTED]> > > From: "Dan Muey" <[EMAIL PROTECTED]> > > > > I'm getting this error from Mial::Sender and am not sure why. > > > > Can't locate object method "Attach" via package "Mail::Sender" > > > > What version of Mail::Sender do you have? Is there any chance you > > have two different versions on your computer and are using the old > > one? > > > > Try > > > > perl -MMail::Sender -e "print $Mail::Sender::VERSION" > > > > Running that command gave me nothing but if I do this > > perl -e 'use Mail::Sender;print $Mail::Sender::VERSION;' > 0.7.10 > If I cat the actuall pm file I get :: > O.7.10
Thanks. So it seems I added Attach() later than I thought :-( If updating the whole module is not an option you may add *Mail::Sender::Attach = \&Mail::Sender::SendFile; either to the scripts or to the module. Attach() is just an alias to SendFile(). 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]