Exactly what the message says, a prototype mismatch
$ perl -Mdiagnostics -e " sub trim(); sub trim($){warn@_} ; " Prototype mismatch: sub main::trim () vs ($) at -e line 1 (#1) (S prototype) The subroutine being declared or defined had previou +sly been declared or defined with a different function prototype.
In reply to Re: Prototype mismatch: sub main::trim: none vs ($) at
by Anonymous Monk
in thread Prototype mismatch: sub main::trim: none vs ($) at
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |