MakeMaker has a one_liner() method to generate portable perl one-liners.
It also has a split_command() method to split a command with lots of pairs
of arguments (for example, pod2man) into multiple, shorter commands. This
is obviously useful on VMS.
Trouble is testing it. split_command spits out things like:
$(PERLRUN) "-l" -e "print @ARGV"-
foo bar
which is fine inside a DESCRIP.MMS file but trying to test it from Perl is
difficult since `` won't accept that. It doesn't like escaping the newline
with a \ either, Unix style.
So what can I use to escape a newline in a shell commmand that will work in
both MMS/K and Perl's ``?
--
If you got the wax out of your ears you could hear the twister picking up
the trailer park of your future!