Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Directory Handle, static object and recursive functions

by yitzle (Initiate)
on Mar 08, 2007 at 05:39 UTC ( [id://603767]=perlquestion: print w/replies, xml ) Need Help??

yitzle has asked for the wisdom of the Perl Monks concerning the following question:

I'm gonna be posting my script, so before I do, I hereby release any code in the post under the MIT license.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://603767]
Approved by Mandrake
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found