Thanks david.

Regards
Irfan Sayed

 



David Gama Rodrí­guez <[EMAIL PROTECTED]> 
04/05/2006 10:37 PM

To
Irfan J Sayed/India/[EMAIL PROTECTED]
cc
beginners@perl.org
Subject
%Re: Perl help






Irfan J Sayed wrote:

>Hi,
>
>I have printed one statement in perl . now i want to print another 
>statement on second line .
>
>i just wanted to know that what is the syntax in perl to go to the next 
>line ?
>
>Plz let me know.
>
>Regards
>Irfan Sayed
>
> 
> 
>
Hi Irfan:

I think you want the "'\n"
 like this:

my $foo = "abc";
my $foo2 = "abc2";
print $foo."\n";
print $foo2.\n";

and it gives:

abc
abc2

Redgards

David

Reply via email to