how is the (PROTO) operator in 'sub NAME (PROTO) {' supposed to be useful ?

sub foo {
sub foo ($) {
sub foo ($$) {
sub foo ($$$) {
sub foo ($@) {
sub foo (@) {


i see the relation to the amount of arguments supposed to be in @_ ---

my handy perl QRG provides a worthless explenation.

there doesnt seem to be any warning or error when you ($$$) but only provide
1 argument, for example.



Jeremy Kister
http://jeremy.kister.net/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to