On 4/5/06, Irfan J Sayed <[EMAIL PROTECTED]> 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

to get a new line use \n in your string:

print "line one\nline two\nline three\n";

you might want to look at the other literal characters while you are at it:

http://perldoc.perl.org/perlop.html

search (in page) for Quote and Quote-like Operators

--
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