in reply to Re^3: backticks and 'Cannot allocate memory'
in thread backticks and 'Cannot allocate memory'
But, in my program, I set a breakpoint to stop when cwd() returns undef. After that point, which is several hundred data files into the execution of the program, the weird behaviour is observed.main::(-e:1): exit 0 DB<1> x qx |pwd| 0 '/home/admin ' DB<2> x $?,$! 0 0 1 '' DB<3> q
So - I'm not sure I understand all the responses here, not being much of a linux OS and forking geek. Is there a reason the believe that backticks cause memory leaks ? Is there an alternative way for Cwd::cwd to return the current path without 'pwd' ? How can I persuade it to do so, when it is used as a sub-module inside Archive::Extract which I am calling ?
Syntactic sugar causes cancer of the semicolon. --Alan Perlis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: backticks and 'Cannot allocate memory'
by JavaFan (Canon) on Sep 24, 2010 at 17:54 UTC |