What you rely on is no magic on the part of cat but more on the part of /bin/sh, and no, there is no easy way to replicate that functionality as-is without writing a shell interpreter.
In reply to Re^3: Questions about creating CPAN modules
by Corion
in thread Questions about creating CPAN modules
by gsiems
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |