in reply to Re^3: Perl open pipe exiting early
in thread Perl open pipe exiting early

Calling close changes $!. Store its value immediately after the failed open.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^5: Perl open pipe exiting early
by albob (Sexton) on Apr 03, 2015 at 14:55 UTC
    Okay, trying this now.