in reply to Re: code works in Windows (Strawberry Perl), fails in Unix - possible path/environment issue
in thread code works in Windows (Strawberry Perl), fails in Unix - possible path/environment issue

I'm forced to work with someone else within the company who is running this in the Unix environment. This disconnect makes resolving issues frustrating.

I updated my post to reflect the code exactly as I gave it to him (the only difference was a handful of blank lines I had originally omitted). The errors posted are from his message back to me.

  • Comment on Re^2: code works in Windows (Strawberry Perl), fails in Unix - possible path/environment issue

Replies are listed 'Best First'.
Re^3: code works in Windows (Strawberry Perl), fails in Unix - possible path/environment issue
by Anonymous Monk on Mar 02, 2015 at 17:02 UTC

    The error messages match up a little better with the code now, and without having tested it I've got a suspicion: It may be a Perl version before v5.10 which does not support the // defined-or operator. If that's the case it would have to be replaced by equivalent logic using defined. See also perlver.

    BTW, please mark your updates in the original node a little more clearly, see here for why.