I call find from perl script as follows:
my $ one_file = `find $ search_dir -name" \ *. $ refinfilebase.search "-print | head -n 1`;
If I execute it from the shell, I will not get an error. Also, it returns the correct value in $ one_file, but I get this at the hint:
find: write error: Broken pipe
Why was that? How can I get rid of this find: write: message Broken pipe message ?
source share