Irfan J Sayed wrote:
Hi all,
Hello,
I am running following clearcase command in perl
my @vob_list = `cleartool lsvob -short > c:\\vob_list.txt`;
I am getting output in c:\vob_list.txt file but not in the @vob_list array
Your redirecting the output to the file, so its not going to STDOUT
Remove the redirect in the command and then write the array to the file
in perl, or use tee or similar shell magic to redirect it to the file
*and* STDOUT
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>