Difference between $ and $$ in function defn

2007-04-11 Thread Nath, Alok (STSD)
Hi, What is the difference between this two function defs ? When there is $ and $$ ?? sub test($$){ ... } sub test($){ ... } Thanks Ak -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Difference between $ and $$ in function defn

2007-04-11 Thread Jason Roth
This is the prototype for the subroutine. $$ indicates it takes two scalars as arguments, and $ indicates it takes one. -Jason On 4/11/07, Nath, Alok (STSD) [EMAIL PROTECTED] wrote: Hi, What is the difference between this two function defs ? When there is $ and $$ ??