Re: [SPAM DETECT] New lines are not removed using HTML::Strip::Whitespace module

2005-12-13 Thread Durai raj
Hi, Thanks for the reply. Is there any other perl modules or tools available to remove the white space in HTML and JavaScript pages? Thanks, Durai Xavier Noria <[EMAIL PROTECTED]> wrote: On Dec 13, 2005, at 5:59, Durai raj wrote: >I tried to remove white space and newlines

New lines are not removed using HTML::Strip::Whitespace module

2005-12-12 Thread Durai raj
Output: Hello there! Instead of: Hello world! Whats the problem? Is it in the script or in mopdule? Thanks in advance. Regards, Durai - Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping

Newbie: Perl Vs Shell

2004-10-29 Thread Durai raj
Hello All, Anyone can explain the difference between Perl and Shell scripts? Regards, Durai. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.783 / Virus Database: 529 - Release Date: 10/27/2004

Re: Newbie: Perl reg. expression - Correction

2004-05-17 Thread Durai
Hi, It works fine after I change the following line: my @parts = parts(/\s+/); to my @parts = split(/\s+/); Thanks for your help. Thanks, Durai. - Original Message - From: "LRMK" <[EMAIL PROTECTED]> To: "Durai" <[EMAIL PROTECTED]> Cc: <[EMAIL PROT

Re: Newbie: Perl reg. expression

2004-05-17 Thread Durai
Hi, It gives the output: (0.0.0.0) 12.34.56.78:80 204.62.129.132 I need Only IP address. I need like: 204.62.129.132 127.0.0.1 Not like 12.34.56.78:80,(0.0.0.0),..etc. Thanks, Durai. - Original Message - From: "LRMK" <[EMAIL PROTECTED]> To: "Durai" <[

Re: Newbie: Perl reg. expression

2004-05-17 Thread Durai
It gives the output: - Original Message - From: "LRMK" <[EMAIL PROTECTED]> To: "Durai" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, May 18, 2004 11:37 AM Subject: Re: Newbie: Perl reg. expression > this should work > >

Newbie: Perl reg. expression

2004-05-17 Thread Durai
., www.apache.org (on) or 204.62.129.132 (off). I want only a word which contains IP address only not with port and others.. For example, Need like: 204.62.129.132 not (0.0.0.0),12.34.56.78:80,.. . Regs, durai. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://

Newbie: regular express

2004-05-15 Thread Durai
owing line (?: # whitespace-trimmed comment: to (? # whitespace-trimmed comment: I got error. Why? Regs,Durai. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.665 / Virus Database: 428 - Release Date:

Re: Problem compare string with array

2004-05-14 Thread Durai
Corrceted One: @myarra = ("test","error","block"); $file = 'sorted'; # File contain records xxx.xxx.xxx # i need last symbols after last -> . open(FILE, $file); while ($data = ) { $backupdata = $data; $data =~ s/^(\S+)\.//g; # Remove xxx.xxx. get last 2 or 3 symbols #chomp($data); $d

Newbie: regular expression

2004-05-03 Thread Durai
Hello All, I am having the following lines of code to remove "\n" from string. $_="Hi. \n This is test string"; s/ (\n) /HI /xisg; print; I expected the output like: Hi. HI This is test string But I got: Hi. HI This is test string Anything wrong? Regs, Durai.

Re: To include another file in perl program

2004-04-29 Thread Durai
T_LOG" requires explicit package name at common_functions.pl line 19. Global symbol "$PROD_TESTS" requires explicit package name at common_functions.pl line 24. Compilation failed in require at runtest.pl line 6. $ - Original Message - From: "Charles K. Clarkson" <

Re: To include another file in perl program

2004-04-29 Thread Durai
Hi, It works fine. Thanks. But I don't know about 1; action? Is it the return value? Regs, Durai. - Original Message - From: "Charles K. Clarkson" <[EMAIL PROTECTED]> To: "'Durai'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>

To include another file in perl program

2004-04-29 Thread Durai
d test_init.pl file in configure.pl and common_functions.pl files. Why it doesn't work? Regs, Durai. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004 -- To unsubscribe, e-

Re: Running another program in current program

2004-04-29 Thread Durai
Hi, Thanks for help me. Regs, Durai. - Original Message - From: "Jose Alves de Castro" <[EMAIL PROTECTED]> To: "Durai" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 29, 2004 4:15 PM Subject: Re: Running anothe

Re: Running another program in current program

2004-04-29 Thread Durai
exit fi What is the equivalent code in perl for above shell script? Thanks, Durai. - Original Message - From: "Jose Alves de Castro" <[EMAIL PROTECTED]> To: "Durai" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 29,

Re: Running another program in current program

2004-04-29 Thread Durai
Hi, Thanks for the reply. Sorry for asking this one. But how to run another perl prog? Should I have to use system() function? Or is there any other way? Thanks, Durai. - Original Message - From: "Jose Alves de Castro" <[EMAIL PROTECTED]> To: "Durai&qu

Running another program in current program

2004-04-29 Thread Durai
Hello All, In shell script file, I can call another program & checked the exit status. Like: ./prog2 if [ $? -ne 0 ] then echo "Error" exit fi How to do in perl? ANy help much appreciated. Regs, Durai. --- Outgoing mail is certified Virus Free. Checked by