Re: Help with recursive directory search

2004-03-17 Thread Dave Kazatsky
ED]To: "Dave Kazatsky" <[EMAIL PROTECTED]> om> cc: [EMAIL PROTECTED] Subject: Re: Help

Re: Help with recursive directory search

2004-03-17 Thread Morbus Iff
>What I need to do is look at a directory structure regardless of files. This works for me: #!/usr/bin/perl use warnings; use strict; use File::Find; find(\&dirscend, "C:\\"); sub dirscend { return unless -d $File::Find::name; print "$File::Find::name\n"; } If you need

Re: Help with recursive directory search

2004-03-17 Thread Dave Kazatsky
| | | | To: "Dave Kazatsky" <[EMAIL PROTECTED]>, | |[EMAIL PROTECTED] | | cc: | | Subject: Re: Help with recursive directory search | >

Re: Help with recursive directory search

2004-03-17 Thread Morbus Iff
>I am trying to setup a recursive read to capture every >directory and sub-directory but seem to be hitting a wall. Use File::Find. -- Morbus Iff ( i put the demon back in codemonkey ) Culture: http://www.disobey.com/ and http://www.gamegrene.com/ Spidering Hacks: http://amazon.com/exec/obidos/ASI

Help with recursive directory search

2004-03-17 Thread Dave Kazatsky
Hello Perlers, Need to write a script that compares directory structures (not files - directories only). I am trying to setup a recursive read to capture every directory and sub-directory but seem to be hitting a wall. Does anybody have any information I can use as starting point? This will run