On Sat, 2003-11-01 at 20:20, Jeff Westman wrote: > Hi, > > I've never liked "recursion" but of course there are times where it is > needed. > > I have a simple task that I am trying to do. Basically, I just want to list > out my directories on disk, and then chdir to each one, print it out, and so > on. Pretty basic, but I have a total mental block using recursion. > > Any quick help or tips would be appreciated. > > Thanks in advance, > > Jeff > > > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/
I'm rusty on recursion too, but here are some resources that explain it on Perlmonks.com.... http://www.perlmonks.com/index.pl?node_id=101801 http://www.perlmonks.com/index.pl?node_id=41634 Also, if you're parsing directories and files, Randal has two awesome columns on this very subject.... http://www.stonehenge.com/merlyn/LinuxMag/col45.html http://www.stonehenge.com/merlyn/LinuxMag/col46.html Hope this helps, Kevin -- Kevin Old <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]