in reply to print question

sorry dont know how to include square brackets here, wanted to write square brackets 1.

Replies are listed 'Best First'.
Re^2: print question
by wind (Priest) on Aug 16, 2007 at 02:38 UTC

    From the bottom of SoPW:

    for [ use [
    for ] use ]
    

    - Miller

      Um, yeah, but you left out the bit that says "Outside of code tags, you may need to use entities for some characters." A better answer would have been to put <code> tags around the chunks of perl code.

        Good point.

        My mind was on carpentry, so I was a little literal in my offer of help. Also, why I didn't bother to just answer his real question.

        Thanks for the clarification.

        - Miller

Re^2: print question
by GrandFather (Saint) on Aug 16, 2007 at 02:45 UTC

    Enclose code in <code> </code> tags. See the bulleted help at the bottom of the preview page (although you can use &#91; and &#93; for [ and ] if required outside a code context).


    DWIM is Perl's answer to Gödel
Re^2: print question
by Anonymous Monk on Aug 16, 2007 at 05:51 UTC
    thank you all for your responses!