Hello,
does a IMAP library exist that supports this functionality:
connect to the IMAP server as administrator and create a mail with a
attachment in the drafts folder of a specified user.
I searched cpan, but from the documentation I dit not find out if the
libraries does what I want.
Andreas Moroder asked:
does a IMAP library exist that supports this functionality:
connect to the IMAP server as administrator and create a mail with a
attachment in the drafts folder of a specified user.
I searched cpan, but from the documentation I dit not find out if the
libraries does
2009/6/23 pa...@compugenic.com:
I have a script which runs mostly via a cron job and sometimes interactively.
I would like STDERR to automatically print to both the console and to a
logfile simultaneously.
Right now I've gotten as far as merging both file handles with IO::Tee but
I'm
On Wed, Jun 24, 2009 at 04:37:52AM +0200, Gunnar Hjalmarsson wrote:
Strange.
It looks like strictures and warnings are not enabled (@a and @b are not
declared). Try to add
use strict;
use warnings;
and see if that makes Perl give you a hint.
here is complite perl script which
Roman Makurin wrote:
On Wed, Jun 24, 2009 at 04:37:52AM +0200, Gunnar Hjalmarsson wrote:
Strange.
It looks like strictures and warnings are not enabled (@a and @b are not
declared). Try to add
use strict;
use warnings;
and see if that makes Perl give you a hint.
here is
From: Roman Makurin dro...@gmail.com
here is complite perl script which produces such results without
any warning:
#!/usr/bin/perl
use strict;
use warnings;
use constant {
A = 0,
B = 1,
C = 2 };
my @a = (A, B, C);
my @b = (1, 2, 3);
while(my $i = shift @a) {
Steve Bertrand wrote:
Roman Makurin wrote:
On Wed, Jun 24, 2009 at 04:37:52AM +0200, Gunnar Hjalmarsson wrote:
Strange.
It looks like strictures and warnings are not enabled (@a and @b are not
declared). Try to add
use strict;
use warnings;
and see if that makes Perl give you a
On Wed, Jun 24, 2009 at 03:25:57PM +0200, Jenda Krynicky wrote:
From: Roman Makurin dro...@gmail.com
here is complite perl script which produces such results without
any warning:
#!/usr/bin/perl
use strict;
use warnings;
use constant {
A = 0,
B = 1,
C = 2 };
Jenda Krynicky wrote:
But of course this does not print anything. The shift(@a) returns the
first element of @a which is zero, assigns that to $i and then checks
whether it's true. And of course it's not. So it skips the body and
leaves the loop. Keep in mind that the value of
my $i =
Roman Makurin wrote:
On Wed, Jun 24, 2009 at 03:25:57PM +0200, Jenda Krynicky wrote:
From: Roman Makurin dro...@gmail.com
here is complite perl script which produces such results without
any warning:
#!/usr/bin/perl
use strict;
use warnings;
use constant {
A = 0,
B = 1,
C
I'd like to automatically have my script's errors and warnings sent to
both STDOUT (console) and a log file. What is the proper way of doing this?
Pablo
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On Wed, Jun 24, 2009 at 05:52:36PM +0800, Jeff Pang wrote:
2009/6/23 pa...@compugenic.com:
I have a script which runs mostly via a cron job and sometimes
interactively. I would like STDERR to automatically print to both the
console and to a logfile simultaneously.
snip
Hi,
What
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 proper way of doing this?
print STDERR mess;
print FILEHANDLE mess;
Pablo
--
To unsubscribe,
Hi
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.
Thanks
--
If you think of MS-DOS as mono, and Windows as stereo,
then Linux is Dolby Digital and all the music
First of all thanks for those that help me with this. I am roughly new
to Perl web development so this is a little over my head with this.
I am trying to implement ReCaptcha
http://search.cpan.org/~andya/Captcha-reCAPTCHA-0.92/lib/Captcha/reCAPTCHA.pm
into my registration form that is using
my $c = Captcha::reCAPTCHA-new;
$template-param(CAPTCHA = $c-get_html( 'mypubkeyitookout' ));
my $result = $c-check_answer(
'myprivkeyitookout', $ENV{'REMOTE_ADDR'},
my $challenge = $query-param(recaptcha_challenge_field), my
$response =
I've purchased Learning Perl to finally give picking up perl a fair
shot. However in the beginning of the book it suggest that I should have
an understanding of basic programming concepts such as variables, loops,
subroutines, and arrays... Well, I don't. I was hoping that this book
would
Daryl Styrk wrote:
I've purchased Learning Perl to finally give picking up perl a fair
shot. However in the beginning of the book it suggest that I should have
an understanding of basic programming concepts such as variables, loops,
subroutines, and arrays... Well, I don't. I was hoping that
Scott wrote:
my $c = Captcha::reCAPTCHA-new;
$template-param(CAPTCHA = $c-get_html( 'mypubkeyitookout' ));
my $result = $c-check_answer(
'myprivkeyitookout', $ENV{'REMOTE_ADDR'},
my $challenge = $query-param(recaptcha_challenge_field), my
$response =
On 6/24/09 Wed Jun 24, 2009 10:45 AM, Roman Makurin dro...@gmail.com
scribbled:
Hi
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.
All Perl classes are
On Wed Jun 24 2009 @ 2:16, Daryl Styrk wrote:
I've purchased Learning Perl to finally give picking up perl a fair
shot. However in the beginning of the book it suggest that I should have
an understanding of basic programming concepts such as variables, loops,
subroutines, and arrays... Well,
Steve Bertrand st...@ibctech.ca wrote:
Roman Makurin wrote:
On Wed, Jun 24, 2009 at 03:25:57PM +0200, Jenda Krynicky wrote:
From: Roman Makurin dro...@gmail.com
here is complite perl script which produces such results without
any warning:
#!/usr/bin/perl
use strict;
use
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 proper way of doing this?
print
Hi Pablo,
pa...@compugenic.com wrote:
STDERR is where errors go. Error messages are generated as a result of
an error, not a 'print' statement. Athough I could manually print to
STDERR, I'm trying to log all errors to both a logfile and STDERR.
Hm, not quite sure what you mean.
24 matches
Mail list logo