in reply to Re: Capturing errors from 3-arg pipe open in ActivePerl 5.020
in thread [SOLVED] Capturing errors from 3-arg pipe open in ActivePerl 5.020

I got similar results: The shell throws an error, but it never makes it to Perl

Pipe.pl
#!/usr/bin/perl use 5.018; use strict; use warnings; open (my $ARTICLE, "-|", "caesar") or die "Can't start caesar: $!\n$^E +"; my $read = <$ARTICLE>; say "[$read]";
Result:
perl pipe.pl 'caesar' is not recognized as an internal or external command, operable program or batch file. Use of uninitialized value $read in concatenation (.) or string at pip +e.pl line 9. []