Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Trouble is that at over 1000 pages it's sometimes hard to know what to read. Starting at the start and reading through would not only be time consuming but brainfully painful. Still, I will try and go and read up on this topic now, this post having identified something I should perhaps know more about.

Added Later:Just read a section called "Names" in Programming Perl (the first section* listed in the index under /lexical scopes/). It was quite interesting and I probably got 50% of what it was saying. I suspect to get any more though I'd have to re read it, read all the sections it refers to, read it again, re the sections it refers to again etc etc. Still maybe in time that'll all happen and I'll understand 51% of lexical scopes ;-)

*I work on the naive assumption the first section will be the most meaningful as well as the easiest to understand.

Added Even Later:(After posts by dragonchild and pfaut).
First comment - I didn't make the original post but I think people realise that.

dragonchild - I see where you are coming from, I admire your commitment and would wish to work along similar lines. I'd like to say though, that for me scripting in perl (I can't call what I do programming but I guess that's a whole other debate) is something I do for fun and occasionally because it's useful :-). It's not core to my job although I am trying to progress in that direction. That said I can't say I'm very dedicated to reading NT books either. Doing what you want to is great, if you can afford to. In reality I don't mind what I'm doing and it pays better (2-3x) that I'd get as a trade apprentice, if I could even get an apprenticeship.

pfaut - Thanks for the pointers on how to use 'PP'. Sounds a bit silly but using a book is more difficult that just reading it and you've given me appreciated direction and enlightenment. I got it for reference but now see that I could also use if for learning too. I've been messing about with Perl for about 18 months so I've written a couple of scripts, the latest (on my scratchpad), was actually written mainly as an exercise in using hashes and recursion with subroutines.

In reply to Re: Re: lexical scoping by 2mths
in thread lexical scoping by Anonymous Monk

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?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (7)
    As of 2018-05-24 14:21 GMT
    Find Nodes?
      Voting Booth?