On Wed, Jun 24, 2020 at 09:38:38PM -0600, Aaron Bieber wrote: > + my @output = <$fh>; > + chomp @output; > + close $fh or die "Unable to close pipe '$cmd': $!";
You still missed that one: you won't get anything out of $!, it's $? that's gonna hold the child exit status.
