Think about Loose Coupling | |
PerlMonks |
Re^3: Perl source safe get by label failureby particle (Vicar) |
on Aug 27, 2003 at 13:33 UTC ( [id://287031]=note: print w/replies, xml ) | Need Help?? |
well, it's been a long time since i've used vss, i must admit. i've used pvcs vm for seven years, and am now implementing a merant dimensions infrastructure. i've been doing conversions from vss, but i don't know specifics on fetch by label. i can, however, help you modify your PerformSS subroutine to make it safer, and more robust. using IPC::Run will give you better control over std(in|out|err). passing system a list instead of a scalar will make the subroutine safer. here's an example:
Notes:
your mileage may vary, but IPC::Run is a powerful module that i use in all my automation when i'm working beyone the capabilities of system and qx{}. to diagnose the vss errors, i suggest you create a small script (like this one) that uses IPC::Run to test both methods, and inspect the results carefully. you'll have to find a vss forum for more expert help. perhaps http://www.experts-exchange.com/ has a forum for that? ~Particle *accelerates*
In Section
Seekers of Perl Wisdom
|
|