in reply to @_0 vs. $_0

Yes, this is right. In fact I recommend typing "perldoc perldiag", looking for the string "better written", then cutting and pasting the message out of perldiag directly into your explanation.

In fact this is a good approach with anything turned up by warnings, all of the messages are in perldiag along with explanations of why the message is considered a potential error.

Replies are listed 'Best First'.
Re: Re (tilly) 1: @_0 vs. $_0
by merlyn (Sage) on Nov 22, 2000 at 18:49 UTC
    Or add:
    use diagnostics;
    or add -Mdiagnostics to the command line. In either case, you can be really lazy, because the right part of the manpage is pasted right at ya!

    -- Randal L. Schwartz, Perl hacker

      shhhh

      I am plotting to get people to browse perldiag and learn the keystrokes to move quickly through manpages. Why do you have to ruin it by giving them the shortcut? :-)