Greetings;
Following the docs I have it working, somewhat, but it is
not handling html w/inline images correctly.
Instead of getting an html message with inline image it is
sending a blank email with both the html and the jpg image
as attachments.
Here is my program. Does anyone see the problem
Hello !
here my hint :
#!/usr/bin/perl
use strict;
use warnings;
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init(
{
file => ">> my_error_log",
level => $ERROR,
},
{
file => "STDERR",
level => $ERROR,
}
);
For more informations see http://log4perl.sourceforge.net
Stéphane
>>
Date sent: Mon, 22 Jun 2009 10:53:06 -0700
From: pa...@compugenic.com
To: beginners@perl.org
Subject:redirecting STDERR with IO::Tee
> I have a script which runs mostly via a cron job and sometimes
> interactively. I would like ST
pa...@compugenic.com wrote:
> On Wed, Jun 24, 2009 at 09:41:10PM +0400, Roman Makurin wrote:
>> On Wed, Jun 24, 2009 at 09:25:05AM -0700, pa...@compugenic.com wrote:
>> > I'd like to automatically have my script's errors and warnings sent to
>> > both STDOUT (console) and a log file. What is the p
Hi everyone,
I'm at a point where I'm learning so much so quickly, that I'm in a
stage of analysis paralysis. In one particular case, I'm trying to
evaluate whether I should completely toss one of my own modules, and
replace it with Exception::Class. I'm sorry for the length of the post,
but if yo
Roman Makurin asked:
> I need create a friend class. Is there any special that I
> need to know ? For now, I get object and work with it like
> with ordinary reference with direct access to internal
> fields.
Perl OO doesn't have a notion of friend classes since there is no data hiding
anyways,