Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

You may find some benefit in reading Use strict warnings and diagnostics for a brief ode praising the benefits of being strict. This article is a couple of pages long. If you want more detail there is a longer version as well. There are also links to all the detail you are likely to want. I highly recommend the Mark-Jason Dominus article "Coping with scoping" which has already been suggested to you.

When your two page app becomes 1500 lines of code you will be happy you made the effort!

cheers

tachyon


In reply to Re: using 'my' by tachyon
in thread using 'my' by kiat

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [LanX]: darn trying to downvote him again fails ... ;-P
    [Discipulus]: congrats!
    [LanX]: His Excelleny Choroba will now nbe clothed in his new robe ...
    [Discipulus]: bishop ship sheeps in the shop..
    [1nickt]: Discipulus too easy!
    [1nickt]: "The sixth sheik's sixth sheep's sick" (if you are after 'sh' tongue twisters)
    [Discipulus]: ok try it in Eatalian ;=)
    [Eily]: Discipulus I don't suppose you can do the same for me can you ? :P
    [Discipulus]: Eily tongue twister or votes? ;=)
    [Eily]: Discipulus turn me into a Bishop

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (8)
    As of 2017-09-26 12:05 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      During the recent solar eclipse, I:









      Results (294 votes). Check out past polls.

      Notices?