in reply to Sub routine ??? (This has been bugging me for ages)
Most Perl programmers new to prototypes instantly assume they're like other languages' prototypes, i.e. they are for declaring how many and what type of parameters a function expects. This is a misuse of them, as it generally causes problems and is quite often bypassed entirely anyways. See FMTEYEWTK about Prototypes. The article was long ago removed from O'Reilly's site, but it still remains relevant.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sub routine ??? (This has been bugging me for ages)
by Krambambuli (Curate) on Oct 13, 2007 at 10:30 UTC |