mmm..ok

I'm a newbie but im not stupid. At least i dont think i posted that its a "stupid newbie question". I would not ask if it was in some documented form readily available for me. I have 4 books on perl and not one answer this question.

I printed the line like i did for a reason. It was with single quotes not double. I just wanted to know how you would put a new line if you didnt have the double quotes. Its not in all 4 books i have and it might be that "you would never use the single quotes if you want to make a new line" but i cant find that statement and wish to know this before i move on.

So one more time. ---How would you get this to print a line after it-- ------------------------------------------------------- -----print 'This will be on a line by itself.';-------- ------------------------------------------------------- 1. is the only way with double quotes? 2. can you get a new line with single quotes?
as for "Programming Perl published by O'Reilly "--there is nothing newbie about this book. O'Reilly is good but they dont cater to beginners.

Edit by tye


In reply to Re: Re: easy newbie question by rimuladas
in thread easy newbie question by rimuladas

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.