Dumitru Orza wrote:
> 
> Hello all,

Hello,

> is there any way to assign names of directories to a list ?

opendir DIR, '.' or die "Cannot open the current directory: $!";
my @dirs = grep -d, readdir DIR;
closedir DIR;


> Ideea is to check the existance of some directories and not create them again.

perldoc -f -d


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to