Mail Archives: djgpp/1999/04/19/16:45:34
On Mon, 19 Apr 1999 10:12:10 +0300 (IDT), Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> wrote:
>> It was plain DOS7 command.com
>
>Huh? COMMAND.COM doesn't support the `command` expansion. You
>probably mean that you invokd Perl from COMMAND.COM, and Perl used
>`cat`, right?
>
>> I think the backtick expansion is done by perl..what exactly
>> does the message mean, anyway?!
>
>It means what it says: some library function got called with an
>invalid argument (probably a NULL pointer).
>
>I suggested to set the TMPDIR environment variable to point to an
>existing, writable directory. Did you try that? I think this is your
>problem.
*Please* read my postings before calling me stupid ;-)
In the first one I wrote that "I got a perl (script) which does .." so
the call to cat is in a script (foreach (`cat $fn`) {..). And I
invoked it from command.com, yes. But after your suggestion I tried it
with bash and, as you wrote, with TMP and TMPDIR set to c:\win95\temp.
But, well, I just *set* it, I didn't *export* it...
Allright, thank you, it was me again, now it works, read u,
Tobias Weber
- Raw text -