Hi community tech,
On Sun, 12 Mar 2017 13:34:21 +0800
community tech wrote:
> Hi,
>
> Giving a pic which is 5x5 pixels, I want to read the grayscale value of
> each pixel.
> which module should I use? thanks.
There's https://metacpan.org/release/GD and there are also the Perl bindings to
https
Hi,
Giving a pic which is 5x5 pixels, I want to read the grayscale value of
each pixel.
which module should I use? thanks.
Sam Munzani wrote:
Team,
I am a totally newbee to perl scripting. I have learned enough to
understand somebody's simple scripts and written some basic ones. Below
is what I am trying to achieve.
I am writing a wrapper script to trigger when a syslog message arrives
to syslog-ng. It fires up
Team,
I am a totally newbee to perl scripting. I have learned enough to
understand somebody's simple scripts and written some basic ones. Below
is what I am trying to achieve.
I am writing a wrapper script to trigger when a syslog message arrives
to syslog-ng. It fires up my parser.pl script
On Tue, Dec 23, 2008 at 07:47, sanket vaidya wrote:
snip
>>I think it's possible.
>>Search "Gmail" on CPAN and you will get something.
>
> Thanks Jeff, I have searched CPAN & got a list of modules related to Gmail.
> I will try that.
snip
Don't forget that Gmail provides POP3 and IMAP support, so
-Original Message-
From: yonghua.p...@gmail.com [mailto:yonghua.p...@gmail.com] On Behalf Of
Jeff Peng
Sent: Tuesday, December 23, 2008 5:30 PM
To: sanket vaidya
Cc: beginners@perl.org
Subject: Re: How to read email from Inbox
2008/12/23 sanket vaidya :
>
>
> Hi all,
>
>
2008/12/23 sanket vaidya :
>
>
> Hi all,
>
>
>
> How can we read mail from inbox without using mail client like outlook?
> Using perl. i.e. Is it possible to read Inbox of your gmail account using
> perl?
I think it's possible.
Search "Gmail" on CPAN and you will get something.
--
Jeff Peng
ht
On Tuesday 23 December 2008 10:46:46 sanket vaidya wrote:
> Hi all,
>
> How can we read mail from inbox without using mail client like outlook?
> Using perl. i.e. Is it possible to read Inbox of your gmail account using
> perl?
>
> Thanks & Regards,
>
> Sanket Vaidya
>
This is not something I've d
Hi all,
How can we read mail from inbox without using mail client like outlook?
Using perl. i.e. Is it possible to read Inbox of your gmail account using
perl?
Thanks & Regards,
Sanket Vaidya
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_
On Mon, Nov 24, 2008 at 07:24, loody <[EMAIL PROTECTED]> wrote:
snip
> My question are:
> Q1:
> what is the differences of using
> "use bytes; use open IN => ":bytes";"
> and "binmode "?
snip
The bytes pragma changes how string functions work (char vs byte, some
chars take up more than one byte).
> You may also want to look into the pack** and unpack*** functions if you are
> going to be messing around with binary files.
>
Dear all:
I excerpt from web,
http://coding.derkeiler.com/Archive/Perl/perl.beginners/2004-05/0150.html,
and add them in my source code which looks like below:
#!/usr/bi
On Sun, Nov 23, 2008 at 08:29, loody <[EMAIL PROTECTED]> wrote:
> 2008/11/23 Chas. Owens <[EMAIL PROTECTED]>:
>>
>>
>> On Nov 23, 2008, at 2:52, loody <[EMAIL PROTECTED]> wrote:
>>
>>> Dear all:
>>> The prototype of read is
>>> read FILEHANDLE,SCALAR,LENGTH
>>> ex:
>>> read PATTERN, $line, 1920;
>>
Mr. Shawn H. Corey wrote:
On Sun, 2008-11-23 at 05:47 -0800, John W. Krahn wrote:
Mr. Shawn H. Corey wrote:
On Sun, 2008-11-23 at 05:34 -0800, John W. Krahn wrote:
You shouldn't "do something with $line" if $bytes_read is undefined:
while ( my $bytes_read = read PATTERN, $line, 1920 ) {
On Sun, 2008-11-23 at 05:47 -0800, John W. Krahn wrote:
> Mr. Shawn H. Corey wrote:
> > On Sun, 2008-11-23 at 05:34 -0800, John W. Krahn wrote:
> >> You shouldn't "do something with $line" if $bytes_read is undefined:
> >>
> >> while ( my $bytes_read = read PATTERN, $line, 1920 ) {
> >> unless
Mr. Shawn H. Corey wrote:
On Sun, 2008-11-23 at 05:34 -0800, John W. Krahn wrote:
You shouldn't "do something with $line" if $bytes_read is undefined:
while ( my $bytes_read = read PATTERN, $line, 1920 ) {
unless ( defined $bytes_read ) {
die "error reading $filename: $!";
loody wrote:
2008/11/23 Chas. Owens <[EMAIL PROTECTED]>:
On Nov 23, 2008, at 2:52, loody <[EMAIL PROTECTED]> wrote:
The prototype of read is
read FILEHANDLE,SCALAR,LENGTH
ex:
read PATTERN, $line, 1920;
that means the $line will content 1920 bytes.
if I want to modify the byte offset 720 of $
On Sun, 2008-11-23 at 05:34 -0800, John W. Krahn wrote:
> You shouldn't "do something with $line" if $bytes_read is undefined:
>
> while ( my $bytes_read = read PATTERN, $line, 1920 ) {
> unless ( defined $bytes_read ) {
> die "error reading $filename: $!";
> }
> # do s
Mr. Shawn H. Corey wrote:
On Sun, 2008-11-23 at 15:52 +0800, loody wrote:
The prototype of read is
read FILEHANDLE,SCALAR,LENGTH
ex:
read PATTERN, $line, 1920;
that means the $line will content 1920 bytes.
It means it will attempt to read 1920 bytes. The actual number of bytes
read is retur
2008/11/23 Chas. Owens <[EMAIL PROTECTED]>:
>
>
> On Nov 23, 2008, at 2:52, loody <[EMAIL PROTECTED]> wrote:
>
>> Dear all:
>> The prototype of read is
>> read FILEHANDLE,SCALAR,LENGTH
>> ex:
>> read PATTERN, $line, 1920;
>>
>> that means the $line will content 1920 bytes.
>> if I want to modify th
On Sun, 2008-11-23 at 15:52 +0800, loody wrote:
> Dear all:
> The prototype of read is
> read FILEHANDLE,SCALAR,LENGTH
> ex:
> read PATTERN, $line, 1920;
>
> that means the $line will content 1920 bytes.
It means it will attempt to read 1920 bytes. The actual number of bytes
read is returned. Y
On Nov 23, 2008, at 2:52, loody <[EMAIL PROTECTED]> wrote:
Dear all:
The prototype of read is
read FILEHANDLE,SCALAR,LENGTH
ex:
read PATTERN, $line, 1920;
that means the $line will content 1920 bytes.
if I want to modify the byte offset 720 of $line, it seems impossible,
But happily it isn'
Dear all:
The prototype of read is
read FILEHANDLE,SCALAR,LENGTH
ex:
read PATTERN, $line, 1920;
that means the $line will content 1920 bytes.
if I want to modify the byte offset 720 of $line, it seems impossible,
since $line is a scalar not an array.
I know I can read a byte to each array element
[EMAIL PROTECTED] wrote:
On Jul 14, 10:57 am, [EMAIL PROTECTED] (Amit Saxena) wrote:
open (PTR1, "
what dose $! mean
perldoc perlvar
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
t" or die $!;
> > foreach .. <..> {
> > printf File "%5d %11.2f\n", $data1,data2;
> > }
> > close File;
>
> > and my question is, how to read these data follow the same format as "%5d
> > %11.2f' from this file again?
&
utomation,
>> Chinese Academy of Sciences.
>> --
>> *发件人:* Amit Saxena
>> *发送时间:* 2008-07-14 22:57:03
>> *收件人:* vikingy
>> *抄送:* beginners
>> *主题:* Re: how to read the formatted data from the file?
>> #! /usr/bin/perl
>
oops
I was thinking along "C" lines on that one !
Please remove sscanf part from the loop.
Regards
Amit Saxena
On Tue, Jul 15, 2008 at 2:29 AM, Rob Dixon <[EMAIL PROTECTED]> wrote:
>
> Brad Baxter wrote:
> > Amit Saxena wrote:
> >> #! /usr/bin/perl
> >>
> >> use warnings;
> >> use strict;
> >>
Brad Baxter wrote:
> Amit Saxena wrote:
>> #! /usr/bin/perl
>>
>> use warnings;
>> use strict;
>>
>> open (PTR1, "> $!\n\n";
>>
>> while (chomp ($str = ))
>> {
>> sscanf($str, "%5d %11.2f", $data1, $data2);
>>
>> # do whatever processing.
>> }
>>
>> close (PTR1);
>>
>> Regards,
>>
Amit Saxena wrote:
#! /usr/bin/perl
use warnings;
use strict;
open (PTR1, "))
{
sscanf($str, "%5d %11.2f", $data1, $data2);
# do whatever processing.
}
close (PTR1);
Regards,
Amit Saxena
sscanf()?
--
Brad
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Rob Dixon wrote:
>
> Amit Saxena wrote:
>>
>> while (chomp ($str = ))
>
> That will exit the loop if an empty line is encountered before the end of the
> file, and will throw a warning at the end of the file because of chomp having
> an
> uninitialized value
My apologies; chomp returns the numb
2f\n", $data1,data2;
>> }
>> close File;
>>
>> and my question is, how to read these data follow the same format as "%5d
>> %11.2f' from this file again?
>>thanks in advance!
>
> #! /usr/bin/perl
>
> use warnings;
> use stri
> There is a file created likes this:
>
> open File ">file.txt" or die $!;
> foreach .. <..> {
> printf File "%5d %11.2f\n", $data1,data2;
> }
> close File;
>
> and my question is, how to read these data follow the same fo
Hi all,
There is a file created likes this:
open File ">file.txt" or die $!;
foreach .. <..> {
printf File "%5d %11.2f\n", $data1,data2;
}
close File;
and my question is, how to read these data follow the same format as "%5d
%11.2f
> "Thomas" == Thomas Bätzler <[EMAIL PROTECTED]> writes:
Thomas> Off the top of my head:
And off the top of your head, you reinvented File::ReadBackwards
for no real purpose.
Might as well use the tested module instead.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503
loody <[EMAIL PROTECTED]> asked:
> I try to read the last line of a file directly instead of using
> while(<>) or something else to read each line until "undef"
> bumped to me.
> If you know some build-in functions or another modules for me
> to use, please help me.
Off the top of my head:
#!/u
Hi
Though I am not very sure, but can we use inbuilt seek function in perl ?
Regards,
Amit Saxena
On Mon, Jul 7, 2008 at 12:39 AM, Rob Dixon <[EMAIL PROTECTED]> wrote:
> loody wrote:
> >
> > I try to read the last line of a file directly instead of using
> > while(<>) or something else to read
loody wrote:
>
> I try to read the last line of a file directly instead of using
> while(<>) or something else to read each line until "undef" bumped to
> me.
> If you know some build-in functions or another modules for me to use,
> please help me.
Like this. Both Fcntl and Tie::File are standard
loody wrote:
I look at http://perldoc.perl.org/index-modules-F.html but I cannot
see File::Tail.
File::Tail is not a core module. Neither is File::ReadBackwards which
was suggested by somebody else.
You get non-core modules from CPAN http://search.cpan.org/
--
Gunnar Hjalmarsson
Email: http
On Sun Jul 06 2008 @ 8:09, loody wrote:
> Dear all:
> I try to read the last line of a file directly instead of using
> while(<>) or something else to read each line until "undef" bumped to
> me.
> If you know some build-in functions or another modules for me to use,
> please help me.
My first th
Hi:
I look at http://perldoc.perl.org/index-modules-F.html but I cannot
see File::Tail.
Would you please tell me where I can get the document describing how to use it?
appreciate your help,
miloody
2008/7/6 Aruna Goke <[EMAIL PROTECTED]>:
> loody wrote:
>>
>> Dear all:
>> I try to read the last li
loody wrote:
Dear all:
I try to read the last line of a file directly instead of using
while(<>) or something else to read each line until "undef" bumped to
me.
If you know some build-in functions or another modules for me to use,
please help me.
appreciate your help,
miloody
use File::Tail mo
Dear all:
I try to read the last line of a file directly instead of using
while(<>) or something else to read each line until "undef" bumped to
me.
If you know some build-in functions or another modules for me to use,
please help me.
appreciate your help,
miloody
--
To unsubscribe, e-mail: [EMAI
AndrewMcHorney <[EMAIL PROTECTED]> asked:
> The spec does not allow for carriage returns or line feeds
> making it a long line. Is there a way to read "x" number of bytes?
$ perldoc -f read
read FILEHANDLE,SCALAR,LENGTH,OFFSET
read FILEHANDLE,SCALAR,LENGTH
Attempts to read LENGTH
Hello
The spec does not allow for carriage returns or line feeds making it
a long line. Is there a way to read "x" number of bytes?
Andrew
At 11:10 AM 5/25/2008, Rob Dixon wrote:
Hi Andrew
(If you are asking a new question of this group please make a fresh
post with an
appropriate subject
Hi Andrew
(If you are asking a new question of this group please make a fresh post with an
appropriate subject line rather than replying to the end of an old thread. Many
of us have email clients that correctly display the flow of threads, and using
reply makes it look as if you have something mor
Okay i have the exact answer for you now. The following script will
give you decimal and hexidecimal values for each keypress. The hex
value can be used in normal regex and print statements using \x; the
example in the script quits using capital Q and (from my keyboard) PgUp
(this probabl
On Wed, Feb 27, 2008 at 10:28 AM, obdulio santana
<[EMAIL PROTECTED]> wrote:
> I want to read the following keys [home][End][Pageup][Page down]
I think you're trying to capture an escape sequence, which is a series
of characters sent for certain keystrokes. I'm appending below an
example program
2008/2/27, MK <[EMAIL PROTECTED]>:
>
> On 02/27/2008 09:04:50 AM, obdulio santana wrote:
> -> Hi.
>
> ->
> -> I want to read from keyboard some keys [pagedown],
> -> [Home],[End][PageUp][up][left][down][right].
> ->
> -> how can I do it?
> ->
> -> Thanks in advance.
>
> ->
> ->
>
> Term::Readkey al
On 02/27/2008 09:04:50 AM, obdulio santana wrote:
-> Hi.
->
-> I want to read from keyboard some keys [pagedown],
-> [Home],[End][PageUp][up][left][down][right].
->
-> how can I do it?
->
-> Thanks in advance.
->
->
Term::Readkey also works but is poorly documented.
Does anyone know how to use t
On Wed, Feb 27, 2008 at 9:04 AM, obdulio santana
<[EMAIL PROTECTED]> wrote:
> Hi.
>
> I want to read from keyboard some keys [pagedown],
> [Home],[End][PageUp][up][left][down][right].
>
> how can I do it?
>
> Thanks in advance.
>
Take a look at Term::GetKey.
* http://search.cpan.org/~barryp/L
Hi.
I want to read from keyboard some keys [pagedown],
[Home],[End][PageUp][up][left][down][right].
how can I do it?
Thanks in advance.
-Original Message-
>From: [EMAIL PROTECTED]
>Sent: Jan 30, 2008 4:58 AM
>To: beginners@perl.org
>Subject: Re: How to read an rfc spec
>
>On Jan 28, 2:27 pm, [EMAIL PROTECTED] wrote:
>> Hi everyone
>> It cost nothing to be polite and only a few seconds
On Jan 28, 2:27 pm, [EMAIL PROTECTED] wrote:
> Hi everyone
> It cost nothing to be polite and only a few seconds to be helpful. I was
> myself looking at RFC822 a few days ago to try to figure out what headers
> should be in an
> email message I bounce with my Perl re-wtite script from a procmail r
Hi everyone
It cost nothing to be polite and only a few seconds to be helpful. I was
myself looking at RFC822 a few days ago to try to figure out what headers
should be in an
email message I bounce with my Perl re-wtite script from a procmail recipe.
Secret formats and being generally unhelpfu
On Jan 28, 2008 7:53 AM, 2apart <[EMAIL PROTECTED]> wrote:
> You guys just love to scold...
Nobody scolded you because of the love of scolding; don't pretend otherwise.
Keeping a forum on-topic is everyone's duty. Answers will be faster
and more reliable when the questions are posted to the corr
2apart schreef:
> Here's a little section from rfc 2822. I know what the nemonics stand
> for, but
> I'm not sure how to read the spec
Look at the end of http://www.perlmonks.org/?node_id=603647
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe,
> This question is both irrelevant to the Perl language and very lazy.
> RFC2822 is a specification for Internet text messages, and itself
You guys just love to scold... guys? Are you female? :-)
> 1.2.2. Syntactic notation
>
> This standard uses the Augmented Backus-Naur Form (ABNF) notat
On Jan 27, 7:21 pm, [EMAIL PROTECTED] (Gunnar Hjalmarsson) wrote:
> 2apart wrote:
>
> > Subject: How to read an rfc spec
>
> What has your question to do with Perl?
>
> --
> Gunnar Hjalmarsson
> Email:http://www.gunnar.cc/cgi-bin/contact.pl
What does yours? ;-
2apart wrote:
>
Here's a little section from rfc 2822. I know what the nemonics stand
for, but
I'm not sure how to read the spec, * [] () / what do they mean.
If you have a handle on this could you translate the CFWS spec. It
seems
to contain all the code except the quote &
2apart wrote:
Subject: How to read an rfc spec
What has your question to do with Perl?
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Here's a little section from rfc 2822. I know what the nemonics stand
for, but
I'm not sure how to read the spec, * [] () / what do they mean.
If you have a handle on this could you translate the CFWS spec. It
seems
to contain all the code except the quote &quo
On Wed, Sep 05, 2007 at 09:42:18PM +0800, PeiYu Zeng wrote:
> I'd like to read the built-in fuctions' code such as 'split',
> but I don't know where it is in perl source code (e.g. perl-5.8.8).
>
> Can you tell me how to locate it?
http://search.cpan.org/CPAN/authors/id/N/NW/NWCLARK/perl-5.8.8.t
The majority of these are compiled c programs. Im not sure of split but I
know many are many which are.
-Original Message-
From: PeiYu Zeng [mailto:[EMAIL PROTECTED]
Sent: 05 September 2007 14:42
To: beginners@perl.org
Subject: How to read Perl source code
I'd like to read the bui
I'd like to read the built-in fuctions' code such as 'split',
but I don't know where it is in perl source code (e.g. perl-5.8.8).
Can you tell me how to locate it?
Thanks,
Cheellay Zen
;
Sent: Wednesday, August 8, 2007 3:09:26 PM (GMT+0200) Auto-Detected
Subject: How to read a very large file??
Hi Guys,
I have a very large file. It may be contain 1lac lines.. also it
length is increased in dynamically..
Each time ( per 5 min) i need to read the contents from file & do som
On Wed, 2007-08-08 at 05:58 -0700, Paul Lalli wrote:
> On Aug 8, 8:09 am, [EMAIL PROTECTED] (Sivasakthi) wrote:
> > I have a very large file. It may be contain 1lac lines
>
> Just FYI, that doesn't mean anything outside of India. You might want
> to use more conventional numeric notation when
On 8/9/07, sivasakthi <[EMAIL PROTECTED]> wrote:
snip
> > perldoc -f tell
> > perldoc -f seek
> > http://search.cpan.org/~mgrabnar/File-Tail-0.99.3/Tail.pm
>
> Thanks for ur suggestionsIn that which method is better solution???
Depends on what you are doing. If the program run continuously th
On Wed, 2007-08-08 at 08:12 -0400, Chas Owens wrote:
> On 8/8/07, sivasakthi <[EMAIL PROTECTED]> wrote:
> > Hi Guys,
> >
> > I have a very large file. It may be contain 1lac lines.. also it
> > length is increased in dynamically..
> > Each time ( per 5 min) i need to read the contents from file
On Wed, 2007-08-08 at 17:39 +0530, sivasakthi wrote:
> Hi Guys,
>
> I have a very large file. It may be contain 1lac lines.. also it
> length is increased in dynamically..
> Each time ( per 5 min) i need to read the contents from file & do some
> work .. Suppose i have read the lines for first
On Aug 8, 8:09 am, [EMAIL PROTECTED] (Sivasakthi) wrote:
> I have a very large file. It may be contain 1lac lines
Just FYI, that doesn't mean anything outside of India. You might want
to use more conventional numeric notation when posting to an
internation forum. IIRC, 1lac means 10^5, right?
On 8/8/07, sivasakthi <[EMAIL PROTECTED]> wrote:
> Hi Guys,
>
> I have a very large file. It may be contain 1lac lines.. also it
> length is increased in dynamically..
> Each time ( per 5 min) i need to read the contents from file & do some
> work .. Suppose i have read the lines for first 5 mi
Hi Guys,
I have a very large file. It may be contain 1lac lines.. also it
length is increased in dynamically..
Each time ( per 5 min) i need to read the contents from file & do some
work .. Suppose i have read the lines for first 5 min then after some
time it reads the same line also , so it
Thanks for your help.
Rajeev Kilaru
On 12/7/06, zentara <[EMAIL PROTECTED]> wrote:
On Tue, 5 Dec 2006 19:18:50 +0530, [EMAIL PROTECTED] ("kilaru
rajeev") wrote:
>Hi All,
>
>I got a "Little-endian UTF-16 Unicode C program character data, with very
>long lines, with CRLF line terminators" file.
Hi All,
I got a "Little-endian UTF-16 Unicode C program character data, with very
long lines, with CRLF line terminators" file. I want to sort it and then
what to extract some patterns from it. Could anyone let me know about this?
I wrote the program as it is an ordinary text file but i didnt get
On 10/27/2006 07:51 AM, Mihir Kamdar wrote:
hi,
I am capturing http transactions by using Net::PcapUtils module. I want to
do real time processing on the captured packets. Following is a snippet of
data that I am getting:
POST /vodexUi/CVodSchedularViewMgr .php HTTP/1.0^M
Host: 192.168.1.157^M
hi,
I am capturing http transactions by using Net::PcapUtils module. I want to
do real time processing on the captured packets. Following is a snippet of
data that I am getting:
POST /vodexUi/CVodSchedularViewMgr .php HTTP/1.0^M
Host: 192.168.1.157^M
User-Agent: Mozilla/5.0 (X11; U; Linux i686;
hi,
I am capturing http transactions by using Net::PcapUtils module. I want to
do real time processing on the captured packets. Following is a snippet of
data that I am getting:
POST /vodexUi/CVodSchedularViewMgr.php HTTP/1.0^M
Host: 192.168.1.157^M
User-Agent: Mozilla/5.0 (X11; U; Linux i686; e
$^E\n");
#Infinite loop
while (1) {
#If there is data in the COM port buffer
while () {
...etc.
###
-Original Message-
From: swayam panda [mailto:[EMAIL PROTECTED]
Sent: Monday, November 07, 2005 9:38 PM
To: begi
Hi ,
I have installed Perl 5.8.7 on windows XP. How to read from COM
port .
when i am writing the program like this
open( PORT, "COM1" ) or die "Can't open COM1: $!";
my $in=;
print "$in"
I am getting error msg that
permission denied
> Chris,
>
> Thank you for the suggestion but when I say "process" I mean that I need
to
> read the "reply", grep for user id and a confirmation number, update my
> database to say that the email I send was "replied to" as requested, and
> that the email address I was given was correct... I am reg
"Because it's up-side down.
Why is that?
It makes replies harder to read.
Why not?
Please don't top-post." - Sherm Pendley, Mac OS X list
Moon, John wrote:
Chris,
Thank you for the suggestion but when I say "process" I mean that I need to
read the "reply", grep for user id and a confirmation number
on di, 15 mrt 2005 17:07:10 GMT, John Moon wrote:
> Plus I am not an admin but a developer and "procmail" is not a
> product I believe I can use... (at least I can't find it on this UNIX
> box)
>
> Anyone else?
http://search.cpan.org/~simon/Mail-Audit-2.1/ and a line in .forward
perhaps?
--
essage-
From: Chris Devers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 9:03 AM
To: Moon, John
Cc: Perl Beginners
Subject: Re: How to read and delete mail from a cron job
On Tue, 15 Mar 2005, Moon, John wrote:
> Can someone please give me some suggestions (or pointers) as to how
On Tue, 15 Mar 2005, Moon, John wrote:
> Can someone please give me some suggestions (or pointers) as to how to
> read and delete emails from a cron job. I will be receiving
> conformation email and need to process it once then delete it - not
> process it again.
Is procmail n
Can someone please give me some suggestions (or pointers) as to how to read
and delete emails from a cron job. I will be receiving conformation email
and need to process it once then delete it - not process it again.
Thank you in advance,
John Moon
--
To unsubscribe, e-mail: [EMAIL PROTECTED
Chris Devers [CD], on Wednesday, January 26, 2005 at 11:11 (-0500
(EST)) thoughtfully wrote the following:
>> http://${host name deleted}/orelly/perl/prog3/ch09_03.htm
CD> That looks like a pirated copy of one of O'Reilly's bookshelf CDs.
uff, I am sorry for that, didn't know, misslooked .ua :(
S
That looks like a pirated copy of one of O'Reilly's bookshelf CDs.
Thank you for pointing this out. I have been an O'Reilly customer
on all things Unix and Perl and was shocked to see the online collection.
In fact when I visited the site, I was greeted by a pop up banner in what
looked like
Russi
On Wed, 26 Jan 2005, Ing. Branislav Gerzo wrote:
> thats Array of Hashes, so just pust that in google, and you will see.
> I did so, and found this:
>
> http://${host name deleted}/orelly/perl/prog3/ch09_03.htm
That looks like a pirated copy of one of O'Reilly's bookshelf CDs.
This is, in a re
Jerry Preston ha scritto:
I have this array and I am trying to figure out how to read $id in it. Any
ideas?
@history = (
{
program => 'racer',
version => '0.45',
input => {
'/home/' => undef,
},
input_contents => '
my($val)=$history[0]->{'input_contents'} =~ m/\$id\s*=\s*\'([^']*)\'\;/ ;
print $val ;
Manav
|-Original Message-
|From: Jerry Preston [mailto:[EMAIL PROTECTED]
|Sent: Wednesday, January 26, 2005 5:58 PM
|To: 'Perl Beginners'
|Subject: How to read th
Subject: How to read this array?
I have this array and I am trying to figure out how to read $id in it. Any
ideas?
@history = (
{
program => 'racer',
version => '0.45',
input => {
'/home/' => undef,
},
input_contents
Jerry Preston [JP], on Wednesday, January 26, 2005 at 06:27 (-0600)
contributed this to our collective wisdom:
JP> @history = (
JP> {
JP> program => 'racer',
thats Array of Hashes, so just pust that in google, and you will see.
I did so, and found this:
http://www.unix.org.ua/orelly/perl/
I have this array and I am trying to figure out how to read $id in it. Any
ideas?
@history = (
{
program => 'racer',
version => '0.45',
input => {
'/home/' => undef,
},
input_contents => '
$name= \'Jerr
hi
i am doing for email reading script in perl.
i can read message from header using "=~" binding operator.
but i don't know how to read message of that mail.
can plz anybody help me for this.
thnx...
Yahoo! India Matrimony: Find your life partneronline.
On Thu, 25 Nov 2004, vishwas bhakit wrote:
> i am [working on a] email reading script in perl.
> i can read message[s] from header using "=~" binding operator.
> but i don't know how to read message of that mail.
> can [please] anybody help me for this.
>
> [t
hi
i am doing for email reading script in perl.
i can read message from header using "=~" binding operator.
but i don't know how to read message of that mail.
can plz anybody help me for this.
thnx...
Yahoo! India Matrimony: Find your life partneronline.
>
> Hi Everyone,
>
> I have an excel spreadsheet that contains the itinerary of our traveling
> technicians. I would like to parse that info and be notified of an
> upcoming trip. For example: Say there is a trip coming up the Sunday
> after next. I would like to be warned 3 days in advance to (w
Hi Everyone,
I have an excel spreadsheet that contains the itinerary of our traveling
technicians. I would like to parse that info and be notified of an
upcoming trip. For example: Say there is a trip coming up the Sunday
after next. I would like to be warned 3 days in advance to (windows
messeng
On Wed, 2004-11-17 at 17:36, supriya devburman wrote:
> hi can anybody tell me
> how to read header of
> incoming messages on pop3
> mail server using
> socket.
>
> Thnx
>
use Mail::POP3Client
http://search.cpan.org/~sdowd/POP3Client-2.13/POP3Client.pm
Ram
--
supriya devburman wrote:
hi can anybody tell me
how to read header of
incoming messages on pop3
mail server using
I think Mail::POP3Client can do this, take a look at search.cpan.org
HTH :)
Lee.M - JupiterHost.Net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
hi can anybody tell me
how to read header of
incoming messages on pop3
mail server using
socket.
Thnx
__
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
1 - 100 of 153 matches
Mail list logo