On Mon, 2002-07-01 at 21:56, simsjs wrote:
> /usr/local/anomy/bin/sanitizer.pl[3]: my: not found.
> /usr/local/anomy/bin/sanitizer.pl[4]: my: not found.
> /usr/local/anomy/bin/sanitizer.pl[43]: BEGIN: not found.
> /usr/local/anomy/bin/sanitizer.pl[44]: use: not found.
> /usr/local/anomy/bin/sanitizer.pl[45]: use: not found.
> /usr/local/anomy/bin/sanitizer.pl[46]: use: not found.
> /usr/local/anomy/bin/sanitizer.pl[49]: my: not found.
> /usr/local/anomy/bin/sanitizer.pl[50]: Syntax error at line 50 : `(' is not expected.
Looks like it's failing to realise it's Perl, and trying to run it
through a Bourne shell. Perhaps explicitly stating it's perl, by
changing "|$ANOMY[...]" to "|/usr/local/bin/perl $ANOMY[...]" might
work.
I vaguely recall that executing "sh /some/file/here" tends to source,
rather than exec, text files under HP-UX's /bin/sh, although I might be
wrong. It's been a while since I used HP-UX.
(I'm resisting the temptation to suggest upgrading the OS to MS-DOS)
Dave.