in reply to Using the syntax checking feature in vim perlsupport plugin
Those messages are warnings, so if you really don't want to see them you can bracket your use statements like this:
no warnings; use WWW::Mechanize; # ... other use statements here use warnings;
But I don't advise that because you'll miss out on messages like "Constant subroutine StevesPerlTools::DATA_DIR redefined" which sounds to me like something requiring fixing. If the third-party modules on their own compile without warnings then again these likely indicate some problem with the way you are using them. OTOH, if the warnings persist when the modules are compiled stand-alone that's probably worth bringing to the attention of the module author.
If there are warnings or errors reported from the syntax check just hit return and it will take you to where the error occurred in your code. Fix that, re-run the syntax check and the other window will refresh with the new report. Keep doing that until they're all gone and you'll simply have the line "file.pl : Syntax is OK" in your status line.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using the syntax checking feature in vim perlsupport plugin
by nysus (Parson) on Apr 15, 2016 at 14:44 UTC | |
by hippo (Archbishop) on Apr 15, 2016 at 15:51 UTC | |
by nysus (Parson) on Apr 15, 2016 at 16:30 UTC | |
by nysus (Parson) on Apr 15, 2016 at 17:12 UTC | |
|
Re^2: Using the syntax checking feature in vim perlsupport plugin
by nysus (Parson) on Apr 16, 2016 at 11:14 UTC |