CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate: Re: [bulrush] Mail::Sender v0.8.2 throws error in debug mode only: Edit Log



wickedxter
User

Jul 19, 2014, 9:05 PM


Views: 3754
Re: [bulrush] Mail::Sender v0.8.2 throws error in debug mode only


Code
open my $DEBUG, ">> /path/to/debug/file.txt" 
or die "Can't open the debug file: $!\n"
$sender = new Mail::Sender ({
...
debug => $DEBUG,
});


its looks like the $DEBUG need to be a file glob ref for debug to work as in the pod for the module.

you just have a file name.


(This post was edited by wickedxter on Jul 19, 2014, 9:05 PM)


Edit Log:
Post edited by wickedxter (User) on Jul 19, 2014, 9:05 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives