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
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
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
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'
[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
On Jul 14, 10:57 am, [EMAIL PROTECTED] (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,
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
Amit Saxena wrote:
>
> On Mon, Jul 14, 2008 at 8:23 PM, vikingy <[EMAIL PROTECTED]> wrote:
>
>> 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,
#! /usr/bin/perl
use warnings;
use strict;
open (PTR1, "))
{
sscanf($str, "%5d %11.2f", $data1, $data2);
# do whatever processing.
}
close (PTR1);
Regards,
Amit Saxena
On Mon, Jul 14, 2008 at 8:23 PM, vikingy <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> There is a file created l
> "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
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
-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, e-mail: [EMAIL PROTECTED]
For additi
> 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? ;-)
--
To unsubscribe, e-mail: [EMAI
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 "
Thanks.
FWS
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/
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 built-in
Hi,
You can always read a file backwards until you reach a position that was
already processed.
This can be done by using File::ReadBackwards.
Hope that helps
Yaron Kahanovitch
- Original Message -
From: "sivasakthi" <[EMAIL PROTECTED]>
To: "beginners perl"
Sent: Wednesday, August 8
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
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.
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
You might want to check out the Win32::SerialPort module. I have a
script that uses it. The documentation describes how to create your
.conf file.
Here is part of it, to give you an idea:
###
use strict;
use warnings;
use Win32::SerialPort;
my $comread;
> 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 not an option?
Th
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 => '
$name= \'Jerry\';
$id = \'035\';
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 this array?
|
|
|I have this array and I
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 => '
$name= \'Jerry\';
$id =
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/
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.
>
> [thanks]...
We can only help you if
>
> 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
--
To unsubscribe, e-mail: [EMAI
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: [EMA
On Aug 11, 2004, at 1:02 PM, jason corbett wrote:
Do I need to have a special module to open/read an Excel spreadsheet,
parse it, etc.?
It's sure a LOT easier with a module. I would definitely go that way...
I am trying to figure out if one is needed and what module is
recommended. I went on CPA
Hi there
You can check this
http://search.cpan.org/~kwitknr/Spreadsheet-ParseExcel-0.2603/ParseExcel
.pm
the modules for excell are in Spreadsheet (for the search)
-Original Message-
From: jason corbett [mailto:[EMAIL PROTECTED]
Sent: 11 August 2004 19:03
To: perl beginners
Subject:
Hi Dani,
By the OS is AIX, similar to UNIX. So, is there any module
to install in AIX (UNIX) and read the pdf file.
Thanks,
Mallik.
-Original Message-
From: Dani Pardo [mailto:[EMAIL PROTECTED]
Sent: Friday, May 14, 2004 1:57 PM
To: [EMAIL PROTECTED]
Cc: Mallik
Subject: Re: How to read
On Friday 14 May 2004 09:33, Mallik wrote:
> Dear Friends,
>
> I want to parse a pdf file as we do for text files using perl. Can anyone
> help me out?
Hi, you may check PDF::API2, it's a pretty nice module.
---
Dani Pardo, [EMAIL PROTECTED]
ENPLATER S.A
--
To unsubscribe, e-mail: [EMAIL PROTE
<[EMAIL PROTECTED]> wrote:
>
> thanks John and Rob for the great enlightenment, they taught me a lot.
>
> I wonder why the following is wrong:
> while (($in1=) && ($in2=))
> {
> ..
> }
In the special case where returns a null string (when the last
record of a file is empty and has no terminating
thanks John and Rob for the great enlightenment, they taught me a lot.
I wonder why the following is wrong:
while (($in1=) && ($in2=))
{
..
}
Ben
Rob Dixon wrote:
> <[EMAIL PROTECTED]> wrote:
> >
> > I need to read from more than one file at a time and do some
> > operation on the strings an
<[EMAIL PROTECTED]> wrote:
>
> I need to read from more than one file at a time and do some
> operation on the strings and join them together, and put into
> one output file.
>
> Here is the code. But I noticed the second file never get
> read. It must be sth very simple to overcome this. Can anyon
Perldiscuss - Perl Newsgroups And Mailing Lists wrote:
>
> Hi,
Hello,
> I need to read from more than one file at a time and do some operation on
> the strings and join them together, and put into one output file.
>
> Here is the code. But I noticed the second file never get read. It must be
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 15, 2003 11:42 AM
> To: [EMAIL PROTECTED]
> Subject: how to read from more than one files at a time
>
>
> Hi,
>
> I need to read from more than one file at a time and do some
> operation
It's necessary to get the location URL to a place where perl can operate
on it. Doing that manually is a pain and should not be necessary since
the URL should be in the browser's cache or history. Digging it out of
the cache or history is the problem and the solution to that depends on
the browse
[EMAIL PROTECTED] wrote:
> Is there a perl module or else to help read the url below from the
> url location bar in the browser. This url is generated by the
> database vendor, so I have no control over it. I know if it was a
> form it would be easy, but there is no form that I generated. After a
>
Jerry Preston <[EMAIL PROTECTED]> wrote:
:
: This one is new to me and I need to be able to
: read $name and $age from the following:
:
: @history = (
: {
: program => 'new',
: version => '0.42',
: },
: input => {
: '/data' => 0.14,
: '/home' => undef,
: },
:
Ramprasad,
I have no choice in the data format!
Thanks,
Jerry
-Original Message-
From: Ramprasad [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 2:24 AM
To: [EMAIL PROTECTED]; Jerry Preston
Cc: [EMAIL PROTECTED]
Subject: Re: how to read?
Jerry Preston wrote:
> Hi!
>
Jerry Preston wrote:
Hi!
This one is new to me and I need to be able to read $name and $age from the
following:
@history = (
{
program => 'new',
version => '0.42',
},
input => {
'/data' => 0.14,
'/home' => undef,
},
input_contents => '
$name = \'Jerry\
> Hello all,
Howdy!
> Incase of reading a bitmap file into an array variable , if
> I have to get the hex value do I
> have to convert the bitmap file into Hex before sending it
> into an array variable or after reading the bitmap file into
> an array what should I do if I want the bitmap
: "Daniela Silva - Absoluta.net" <[EMAIL PROTECTED]>
To: "LI NGOK LAM" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 1:12 AM
Subject: Re: How to read multiple files in the same time ?
> Hi,
>
> I want to do something similar,
Hi,
I want to do something similar, read multiple files and
extract some piece of readed lines for a file or screen,
to generate te output file could be used unix redirection.
Do you have new ideas how to work with multiple files ?
Thanxs
- Original Message -
From: "LI NGOK LAM" <[EMAI
Hi,
open(FILEHANDLE, filename);
binmode(FILEHANDLE);
above two statements will work if you want to read a binary file.
There is not need of using read function here.
Regards,
Ganesh
"John W. Krahn" <[EMAIL PROTECTED]> wrote:
>Jonathan Lee wrote:
>>
>> Hi all,
>
>Hello,
>
>> Can someone ple
Jonathan Lee wrote:
>
> Hi all,
Hello,
> Can someone please help...
>
> I am trying to write a script to do the following -
>
> 1/ Open up a binary file to read.
>
> 2/ Read the file byte by byte.
Why do you think that you need to read the file a byte at a time?
> 3/ Convert the bytes read
1 - 100 of 114 matches
Mail list logo