That's not portability. Ease of installation, maybe? Portability is a measure of the ability to run on different platforms. The /dev/fd solution is not portable, whereas Algorithm::Diff will run on any platform that can run Perl.
Just install Algorithm::Diff as part of the process of installing the script. If you use a standard installer, it's just a question of adding one line to Makefile.PL/Build.PL.
In reply to Re^7: redirect output from a command to another command
by ikegami
in thread redirect output from a command to another command
by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |