Re: OT:Is this the right forum for HTML help?
			 
             
			
		
		
		
		Just a way to get all filenames in a directory into a variable would be very helpful. 
 
In perl, just use opendir and readir thus; 
 
$directory = '/tmp/files'; 
@files = (); 
opendir (DIR, $directory); 
while ($file = readdir(DIR)) { 
     push @files, $file; 
} 
closedir(DIR); 
 
and @files has your list of files. 
  
 [ August 13, 2003, 16:30: Message edited by: gravey101 ] 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 |