yitzle has asked for the wisdom of the Perl Monks concerning the following question:
Script now at http://www.ecf.utoronto.ca/~goodi/ht...ail_creator.pl
The script recursively explores a file tree, creating a copy of the directory structure and converts any .jpg files found in it the source tree to a thumbnail in the destination tree.
43 lines or so. Pretty straight forward. Unfortunately, when I last tried running it, it didn't explore the entire tree. HELP! Why not? When you got a recursive function can you declare a DIR_HANDLE in it? Do the DIR_HANDLE's affect each other?
You know what? Ignore this. Its been discussed. Sorry dudes. Dupelicate of: http://www.perlmonks.com/?node_id=17301
2007-03-08 Considered by thezip: No value
2007-03-10 Unconsidered by Arunbear: No action requested; in any case enough keep votes to prevent reaping {Keep: 15, Edit: 0, Reap: 25}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Directory Handle, static object and recursive functions
by rinceWind (Monsignor) on Mar 08, 2007 at 15:27 UTC |