X
Xavier MOGHRABI
Hello,
I'm writing a perl script and I need to get the list of directories of a
directory.
I tried few tests but there failed.
In fact I need this list to open the last directory created.
For the moment I've writen this but it doesn't work because in my variable
$retval I don't obtain the list of the directories :
$retval = system "ls -C $ENV{RESULT_DIR}";
@rep = split("\t",$retval);
Any help is welcome.
Thanks for you further help
I'm writing a perl script and I need to get the list of directories of a
directory.
I tried few tests but there failed.
In fact I need this list to open the last directory created.
For the moment I've writen this but it doesn't work because in my variable
$retval I don't obtain the list of the directories :
$retval = system "ls -C $ENV{RESULT_DIR}";
@rep = split("\t",$retval);
Any help is welcome.
Thanks for you further help