Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl Special Variables Quick Reference

by Anonymous Monk
on May 14, 2004 at 05:06 UTC ( #353277=note: print w/ replies, xml ) Need Help??


in reply to Perl Special Variables Quick Reference

While I realize that this is a 'quick reference', you can get a lot more -- and also quick info -- by typing 'perldoc perlvar' at the command line. For example, while $^V does indeed hold the perl version, to get the string representation of it, you need to use sprintf('%vd, $^V);. So yes, this is useful, but perlvar really isn't that difficult to pull up and it holds a little more info.


Comment on Re: Perl Special Variables Quick Reference
Download Code
Re: Re: Perl Special Variables Quick Reference
by davido (Archbishop) on May 14, 2004 at 06:30 UTC
    I understand what you're saying, and I do believe that the POD is the authority on most things Perlish.

    The problem with perlvar is that it is not all that friendly when the goal is to refresh ones memory on which special var it is that does XXX. It's just not categorized very well ...or if it is, I just didn't see it. True, it is not a terribly long document, but by way of example, there are special variables that deal with regexps scattered in at least three different places in the doc. The primary reason I put this node together was simply to provide a quick, categorized crossreference.

    Frankly, I'm not sure which is more valuable; this parent node (the Perl Special Variables Quick Reference), or the refresher course I got by putting it together. Maybe the node itself fills a need that isn't really there, but it did give me an excuse for diving back into the docs again.

    While on the topic of the POD, I wanted to speculate for a moment what it is that causes so many to avoid it in the first place. I myself read all of the Llama book and most of the Camel book before finally getting comfortable with the idea of using the perldocs. And from the looks of many of the questions that get asked in Seekers of Perl Wisdom, I'm not alone in having had an early-on aversion to the POD.

    For me, discovering it and getting comfortable with it was a significant step toward gaining a more comprehensive understanding of Perl. I feel that others will have that lightbulb flick on in their minds if they too get comfortable with reading Perl's POD.

    That is the other reason I created this parent node. I thought that perhaps it could whet someones' apetite for more, and that by linking to perlvar at the end of the list someone might follow the link and take the first step into Perl's POD.

    Cheers!


    Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://353277]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-08-22 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (156 votes), past polls