It attempts to open a curiously named file "cat file | /usr/bin/mycommand" for reading and executes the perl code it contains.
I very much doubt that is what you want!
I think you should look at open and perlopentut.
In reply to Re: Undestanding this code snippet
by FunkyMonk
in thread Undestanding this code snippet
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |