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 $$      ??

        sub test($$){
                ...
        }

        sub test($){
                ...
        }

Thanks
Ak

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to