On 22/04/2002 06:49:52 perl-win32-users-admin wrote:

>Dear All,
>I have seen one perl code with the following stuff
>
>sub func_name($$$)
>{
>    $a = @_;
>}
>
>My question is ,
>
>What is the purpose of $$$ in the function definition.
>

It tells Perl that func_name expects three scalars.
Check out  prototypes  towards the end of

perldoc perlsub

--
Csaba Ráduly, Software Engineer                           Sophos Anti-Virus
email: [EMAIL PROTECTED]                        http://www.sophos.com
US Support: +1 888 SOPHOS 9                     UK Support: +44 1235 559933

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to