Syntactic Confectionery Delight | |
PerlMonks |
Re: Function Prototype Context Conversionby Abigail-II (Bishop) |
on Jun 13, 2002 at 13:14 UTC ( [id://174181]=note: print w/replies, xml ) | Need Help?? |
It all has to do with compile time and run time.
Prototyping has a compile time effect, while the number of
elements in an array isn't known till run time. I fail the
see the relevancy of your shell example. Prototyping changes
the way perl parses Perl. Expecting no changes when using
prototypes is a mistake (if you don't want changes, don't
change your code! ;-)).
Abigail
In Section
Seekers of Perl Wisdom
|
|