Subject: | Fix needed for support of Cygwin perl |
Date: | Mon, 07 May 2007 19:30:18 -0400 |
To: | bug-ClearCase-Wrapper-DSB [...] rt.cpan.org |
From: | shankarunni [...] netscape.net |
Cygwin's perl is an odd duck, in that if you open a pipe to an external
command and read lines, you'll often see an extra ^M at the end.
This means that expressions like the following in "sub update {" won't
match:
next if m%^[.]+$%;
Because the ^M doesn't match $, this line doesn't match. My workaround
for the above was
next if m%^[.]+\015?$%;
I scanned the rest of DSB.pm, but didn't see any other locations that
need such hacks..
Show quoted text
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and
industry-leading spam and email virus protection.