-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Description
Perhaps it is too late to do anything about it, and readpipe isn't mentioned in the autodie man page, but it also doesn't complain about using it with autodie. I would expect it to work like system where if the program doesn't exist (
✅ doublethink% perl -E 'use autodie qw( readpipe ); `true`'
Can't readpipe('true'): at -e line 1
❌ doublethink% perl -E 'use autodie qw( readpipe ); `false`'
Can't readpipe('false'): at -e line 1
❌ doublethink% perl -E 'use autodie qw( readpipe ); `echo "hi"`'
❌ doublethink% perl -E 'use autodie qw( readpipe ); `echo -n "0"`'
Can't readpipe('echo -n "0"'): at -e line 1