in reply to Re^2: problem to open a specified path file in open system call
in thread problem to open a specified path file in open system call
Using built-in opendir and readdir would be safer for you, and no extra processes needed.my @files = `ls -1`; chomp @files; # or in one line chomp(my @files = `ls -1`);
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: problem to open a specified path file in open system call
by blazar (Canon) on Jul 15, 2007 at 07:36 UTC | |
by naikonta (Curate) on Jul 15, 2007 at 13:27 UTC |