S
stu7
+
With Perl 5.6, I'm trying to use prototypes and a new
subroutine...
sub testproto($) { subroutine here }
With this, I tried to use the actual "prototype" call...
prototype testproto ;
and I also tried
print prototype testproto;
however, the subroutine output seems unaffected regardless of
what parameters are sent... $a or @Arr... and the prototype command
doesnt seem to return anything at all.
Am I using these correctly, or isnt prototyping of this kind
working in Perl yet ?
With Perl 5.6, I'm trying to use prototypes and a new
subroutine...
sub testproto($) { subroutine here }
With this, I tried to use the actual "prototype" call...
prototype testproto ;
and I also tried
print prototype testproto;
however, the subroutine output seems unaffected regardless of
what parameters are sent... $a or @Arr... and the prototype command
doesnt seem to return anything at all.
Am I using these correctly, or isnt prototyping of this kind
working in Perl yet ?