by perigrin · 7y ago · 0 comments
You have to be able to understand that if it's a two character variable of all punctuation you may need to look it up to figure out what it is. Typing `!perldoc $"` into duck duck go sent me to https://perldoc.pl/variables/$%22 ... which is roughly equivalent to `!g [docker error]` which I already do all day long.
$ 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.)
A glance at "man perldoc" (or "perldoc perldoc") will tell you of the very useful other switches, such as -f and -q.