in reply to Re: Re: use lib "/..." and sub parms..
in thread use lib "/..." and sub parms..

Vautrin: You are right about "sub foobar {...}" being the right way to code unless and until you completely understand what Perl calls "prototypes". However, otherwise your post is almost completely false. Specifically:

Once more: prototypes do not provide checking of argument number and type.

Why even have them then? Good question. Tom Christiansen's prototypes explanation explains the whole situation. It is detailed and crystal-clear.

If you want to check number and type of arguments, the best way is to do it by hand.

  • Comment on Re: Re: Re: use lib "/..." and sub parms..