P0w3rK!d has asked for the wisdom of the Perl Monks concerning the following question:
For some reason, when this is executed on NT3.5.1 it thinks that it is not in a view and returns ** NONE **. Hence, the script fails.my $CLEARTOOL = "c:\\atria\\bin\\cleartool"; $my_view = `$CLEARTOOL pwv -s`; if ( $my_view =~ /NONE/) { die "not in a view\n"; }
Does anyone have any ideas on how I can maintain my environment on this platform? Could you suggest a work around? Thank you :)
-P0w3rK!d
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl and Clearcase: Not able to see view
by fglock (Vicar) on Sep 16, 2002 at 14:41 UTC | |
|
Re: Perl and Clearcase: Not able to see view
by BrowserUk (Patriarch) on Sep 16, 2002 at 14:47 UTC | |
by P0w3rK!d (Pilgrim) on Sep 16, 2002 at 18:21 UTC | |
by BrowserUk (Patriarch) on Sep 16, 2002 at 18:49 UTC | |
by P0w3rK!d (Pilgrim) on Sep 17, 2002 at 15:05 UTC |