http://www.perlmonks.org?node_id=1059615


in reply to perl stdout and backtick execute

What is @cc = `pread cm 98`; supposed to do? I have found the C function but not the shell one. If this is executed in bash, 'cm' is more likely a file than a file handle, so you have to be in the same directory as the file to see it with its relative path.

It would probably be a good idea to check $?.