The way you showed is the usual way to redirect a filehandle to a (different) file in Perl.
Maybe you can tell us the compilation error?
In reply to Re^3: STDOUT msg routing
by Corion
in thread STDOUT msg routing
by sandy105
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |