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
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
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
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
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" <[
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
>
>
., 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://
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:
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
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.
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" <
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]>
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-
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
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,
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
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
17 matches
Mail list logo