[Brisbane-pm] Passing a Two-Dimensional Array to a sub in Perl 5.8.6
ajsavige at yahoo.com.au
Thu Feb 22 13:31:30 PST 2007
--- Damian James wrote:
> However, I strongly suggest that even though Perl has a prototype
> mechanism that can be used to enforce passing by reference, not using
> it. Seriously, it's probably what's causing your confusion here.
Agreed. Quoting from Chapter 9 of Perl Best Practices:
"Don't use subroutine prototypes"
As for why, you can read all about it even if you don't own the book
because Chapter 9 is the freely available sample chapter at:
Send instant messages to your online friends http://au.messenger.yahoo.com
More information about the Brisbane-pm