\n means a newline character.

I tried putiing '' around the $a but still same error.

plz help

Regards
Irfan.
 

-----Original Message-----
From: Dr.Ruud [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 5:30 PM
To: [email protected]
Subject: Re: Perl issue

"Sayed, Irfan (Irfan)" schreef:

> foreach my $a (@vob_list)
>  {
>        print $a;
>       `$CT lsreplica -fmt %[master]p\n -invob $a`;

Why is the \n in there? Is it meant as a literal, or as a newline?

I think you need '' around (the contents of) $a.

--
Affijn, Ruud

"Gewoon is een tijger."



--
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/>
<http://learn.perl.org/first-response>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to