Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: strange subs

by si_lence (Deacon)
on Jun 10, 2009 at 12:10 UTC ( [id://770310] : note . print w/replies, xml ) Need Help??


in reply to strange subs

It is called a prototype. It lets you put constraints on the number and types of arguments.

cheers si_lence