Is there any practical application of forward declaration of subroutines?
Yes. If you have mutually recursive subroutines -- sub a calls sub b; and sub b calls sub a; -- then you need to forward declare one of them to pass strict, if you want to avoid using parens.
In reply to Re: Forward declaration of subs
by BrowserUk
in thread Forward declaration of subs
by perlaintdead
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |