Hacker News new | ask | show | jobs
by marcosdumay 2485 days ago

    $ perldoc '$'
    No documentation found for "$"
I hope perldoc search improved on Perl6, because it only used to match section titles, and none of the line noise vars are there.

(Yes, after a while one should learn yo search for the section that explains all the vars, at least if he's coding Perl all day. But it's a ton of useless trivia to keep in mind anyway.)

1 comments

The correct invocation to search for a variable named $" (not $) is perldoc -v '$"', which the variable search on perldoc.pl was modeled after.

A glance at "man perldoc" (or "perldoc perldoc") will tell you of the very useful other switches, such as -f and -q.