Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$SourceRoot is an existing directory. The error that I get back via $! is "No such file or directory". The whole purpose of the above script (I did not write it, and I'm not a perl developper) is to get all source files in a directory and process those. Any ideas Lucmy $hProcess; if ( ! open($hProcess, "dir $SourceRoot 2>&1 |") ) { ::warn_message("Unable to resolve directory: $!"); return(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Opening pipe : no such file or directory
by Corion (Patriarch) on Sep 08, 2015 at 07:48 UTC | |
by Anonymous Monk on Sep 08, 2015 at 08:11 UTC | |
|
Re: Opening pipe : no such file or directory
by Anonymous Monk on Sep 08, 2015 at 08:08 UTC |