in reply to How to pass array literal through pass by reference

sub WriteToFile($@)

It's usually a bad idea to use prototypes. See Far More Than Everything You've Ever Wanted to Know about Prototypes in Perl.

Replies are listed 'Best First'.
Re^2: How to pass array literal through pass by reference
by pravlm (Acolyte) on Mar 16, 2009 at 20:26 UTC
    Wow thanks , Its lot of info there about prototypes.