Subject: | ClearCase::Argv 1.44 doesn't quote anymore |
Date: | Tue, 24 Mar 2009 16:44:40 +0100 |
To: | <bug-ClearCase-Argv [...] rt.cpan.org> |
From: | "Heinrichs, Dirk (EXT-Capgemini - DE/Dusseldorf)" <dirk.heinrichs.ext [...] nsn.com> |
Hello,
after upgrade to version 1.44, ClearCase::Argv doesn't quote anymore. This leads to problems when attaching attributes, because the value needs to be quoted like this: '"value"'. This fails with version 1.44 because of the missing single quotes. Here's a small example output of a script started on a machine with version 1.44 (dbglevel set to 2):
=> pwv -short
+ <=vobroot_default
+ ($? == 0)
=> ls -s /vob/itrBuild
+ <=/vob/itrBuild/lost+found@@/main/0
/vob/itrBuild/lost+found@@/main/0
+ ($? == 0)
And this is how the same script looks like when using an older version of the module (notice the single quotes):
+ starting child cleartool (pid=19648) ...
+ -->> 'setview' 'vobroot_default'
+ -->> 'pwv' '-short'
+ <<-- vobroot_default
+ -->> 'ls' '-s' '/vob/itrBuild'
+ <<-- /vob/itrBuild/lost+found@@/main/0
/vob/itrBuild/lost+found@@/main/0
+ ($? == 0)
+ ending child cleartool (pid=19648) ...
With the old version, mkattr works just fine, while with 1.44 it doesn't.
Bye...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com
Wanheimerstraße 68 | Web: http://www.capgemini.com
D-40468 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
Message body not shown because it is not plain text.