In what order do you expect them to be executed? I think this is what is happening here, the catch is being executed first since it is an argument to try.sub1(sub2()); sub sub1 { my @array = @_; ... } sub sub2 { ... return @arr; }
-- Brett
Go not to the Elves for counsel, for they will say both no and yes
In reply to Re: Sub prototypes...
by bmccoy
in thread Sub prototypes...
by vladb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |