in reply to strange subs

thanks to both of you. I founded.

Replies are listed 'Best First'.
Re^2: strange subs
by rovf (Priest) on Jun 10, 2009 at 12:54 UTC
Re^2: strange subs
by perlsaran (Sexton) on Jun 11, 2009 at 04:01 UTC
    sub foo($$) # it strictly allows two scalar values as a arguments from the function call or else it throw error..In normal case it dont it accepts as many number of arguments Thanks everyone for suggesting perlsub and other usefull links