2010年8月1日星期日

[PerlChina] About required parameters in sub

I saw someone uses the following syntax to define a subroutine:
 
sub SubName($$;$;$)
 
which means there are 2 required parameters? and the rest 2 are optional? I did a search but didn't find it. Anyone could give me a link?
 
Thanks in advance!
 
Andy

没有评论: