On Thu, 2004-05-06 at 12:32, jack jack wrote: > it is not printing anything?? My program is as follows: > $var1=`cleartool lsview -l av_test `; #here output is # *av_test > #\hostname\views\av_test.vws /\\\\(.*?)\\/; print $1;
Ok, try this $var1 = `cleartool lsview -l av_test`; $var1 =~ /\\(.*?)\\/; print $1; Keep CCing the list too :-) -- Josà Alves de Castro <[EMAIL PROTECTED]> Telbit - Tecnologias de InformaÃÃo -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>