Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: over loading

by Taulmarill (Deacon)
on Aug 19, 2009 at 09:31 UTC ( [id://789749] : note . print w/replies, xml ) Need Help??


in reply to over loading

There is no overloading here. You just define a subroutine called min, and then you redefine it with different code.
warnings.pm should also give you a warning about this.