You may be running csh as your shell, but perl appears to be using sh to run the command in backticks, according to the errors you're getting. I don't think sh has the |& syntax. This should combine STDOUT and STDERR and send the result to a file and to your backticks output:
`wget "http://whatever" 2>&1 | tee /path/to/tee.log`
Aaron B.
Available for small or large Perl jobs; see my home node.
In reply to Re: Perl won't run command with "|&"
by aaron_baugher
in thread Perl won't run command with "|&"
by italdesign
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |