in reply to software error - Can't cd to : HELP !!
It looks like you only have a single images directory. Is that true? If so, you can dispense with File::Find::Rule altogether. Just look in the directory yourself, something like this:
The main strength of File::Find and friends is that they can recurse through an entire directory structure. If you don't need that functionality, stick with something simpler/easier to debug.opendir D, $imagedir or die "Can't open $imagedir: $!\n"; @files = grep($files, readdir D); closedir D; # Rest of your code here
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: software error - Can't cd to : HELP !!
by calypso (Initiate) on Feb 07, 2005 at 17:35 UTC |