On Thu, Sep 10, 2009 at 5:26 PM, Bryan R Harris
<bryan_r_har...@raytheon.com> wrote:
>
>>>>>>> "ES" == Erez Schatz <moonb...@gmail.com> writes:
>>
>>>> $| is a special variable. All perl special variables are listed in
>>>> perldoc perlvar. See that document for a full explanation.
>>
>>   ES> This isn't really helping, sorry.
>>
>> sorry, but pointing someone to the docs is helping more than directly
>> answering the question. this has been debated for years and teaching
>> newbies how to use the docs has always proven to be a win because it is
>> a skill they need to learn. perl's docs are among the best out there and
>> very comprehensive.
>
>
> Curiously the most helpful people on this list seem to think the perldoc
> system is great, but I've always found it to be rather hard to use.  If I
> need to figure out what "$." means, how do I even start?  I can't type
> "perldoc '$.'" (well, I can, but it doesn't find anything).  How would I
> ever know that "perlvar" is the place to go without asking?
>
> Everybody gets pointed back to the perldoc system, and yet when they have
> more questions, they often still have to come back here to even start.

I aggree that it is not that useful unless someone explains how to
actually get that
info. Luckily the recent version of perldoc supports this.
Install Pod::Perldoc 3.15 and you can type

perldoc -v $.


of course if you use Padre, highlighting $. and clicking on F2 will
actually show
the documentation too.

Gabor

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to