file listing within skript not workingby McSvenster (Novice)
|on Jan 30, 2013 at 10:32 UTC||Need Help??|
McSvenster has asked for the
wisdom of the Perl Monks concerning the following question:
dearest wise monks,
I have a script where I want to put a list of files into an array. I tried it as easy as:
This leaves the script running forever doing nothing. To make sure it is this line of code I added :
In my logfile I find everything until "listing des verz. /tmp". The script is running and running and pretyy sure will be running even after I become a monk.
So I tried directly in terminal:
Sure enough this works fine and gives the exspected answer.
So why is the backtick-ls working with perl -e but not within a script?
Thanks in advance,