in reply to Cross-Platform code

For deploying scripts and sorting out the #! line, there's a trick:

perl -MExtUtils::MY -e 'MY->fixin(@ARGV)' *.pl

This is the same mechanism that make install uses for scripts: it will set the perl path to the right thing on Unix, and run pl2bat on Windows.

Concerning portability in general, you might be interested in the slides for a talk I have given on portability at two YAPCs.

--

Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)