RE: Sendmail mail from script

2006-06-04 Thread Мандип Сингх Бхабха
How to use this module if there is russian language in subject field ? Body of message, can be send using html. -- С уважением, Бхабха Мандип Сингх ЗАО "РАМАКС Интернейшнл" +7(812)327-86-49 [EMAIL PROTECTED] -Original Message- From: JupiterHost.Net [mailto:[EMAIL PROTECTED] Sent: Friday

Re: Extracting a Range of Lines

2006-06-04 Thread joseph
""Mr. Shawn H. Corey"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 2006-05-06 at 10:20 +0800, joseph wrote: >> @line = () if /^DATE:/; ## set array @line to an empty list if line begin >> DATE? > > Yes, this will clear out the previous record. > >> push @line, $_; ## th

Re: Extracting a Range of Lines

2006-06-04 Thread Mr. Shawn H. Corey
On Mon, 2006-05-06 at 10:20 +0800, joseph wrote: > @line = () if /^DATE:/; ## set array @line to an empty list if line begin > DATE? Yes, this will clear out the previous record. > push @line, $_; ## then push the value of line to an empty @line array? @line is empty only if this is the first

Problem installing captcha

2006-06-04 Thread maillists
Hi, I am trying to install Authen::Captcha on a Redhat 9 box and I am a bit of a newby on this... This is the error that I have encountered: Any advise will be very appreciated! Here are the last few lines from my install Authen::Captcha command:

how to update my @INC (can't find .pm's after upgrading perl)

2006-06-04 Thread Harold Castro
Hi, I'm currently running perl-5.8.7, my modules are located in site_perl/5.8.7 however, after upgrading to 5.8.8, all of programs using perl modules, suddenly breaks because it cannot find those modules into its new supposed to be @INC (site_perl/5.8.8.. what can I do with this? Thanks. __

Re: Extracting a Range of Lines

2006-06-04 Thread joseph
""Mr. Shawn H. Corey"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 2006-05-06 at 08:51 +0800, joseph wrote: >> Hello List, >> >> I need help in extracting a range of lines from a log files, i tried to >> do >> it with this script: >> >> >> #!/bin/perl >> >> use strict

Re: Extracting a Range of Lines

2006-06-04 Thread Mr. Shawn H. Corey
On Mon, 2006-05-06 at 08:51 +0800, joseph wrote: > Hello List, > > I need help in extracting a range of lines from a log files, i tried to do > it with this script: > > > #!/bin/perl > > use strict; > use warnings; > > open(FILE,"/home/teragram/status_log.txt") or die "can't open file $!\n"

Extracting a Range of Lines

2006-06-04 Thread joseph
Hello List, I need help in extracting a range of lines from a log files, i tried to do it with this script: #!/bin/perl use strict; use warnings; open(FILE,"/home/teragram/status_log.txt") or die "can't open file $!\n"; my @line; while () { if (/DATE:\s\d.*/../END_TIME:\s\d.*/) ##T

Re: why i can't install Tk on Linux?

2006-06-04 Thread David Moreno Garza
sewenew wrote: > I want to install Tk on my Linux,but I can't generate Makefile. > After I input the command "perl Makefile.PL",it can't work but tell me > "Cannot find X include files via /usr/X11R6/include" > What should I do to deal with this problem? What distro are you using? That is req

why i can't install Tk on Linux?

2006-06-04 Thread sewenew
I want to install Tk on my Linux,but I can't generate Makefile. After I input the command "perl Makefile.PL",it can't work but tell me "Cannot find X include files via /usr/X11R6/include" What should I do to deal with this problem? Thank you!