XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Think about the order of execution when you have a subroutine executing as an argument to another subroutine. If you have a sub that is expecting an array as argument, and instead you give it a sub that returns an array, like this:
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. -- Brett Go not to the Elves for counsel, for they will say both no and yes In reply to Re: Sub prototypes...
by bmccoy
|
|