What could be wrong here?
I am trying to display the content of an existing file:
perl -MFile::Slurp -e 'print File::Slurp->read_file("/tmp/001.jpg", { binmode => ":raw" } ) if -e "/tmp/001.jpg"; '
and I get the error:
read_file 'File::Slurp' - sysopen: No such file or directory
The file exists, the print
gets executed only if -e "/tmp/001.jpg"