Re: Problems with File::Find stopping on directory with space in name RESOLVED (sort of)

2003-07-30 Thread Rob Dixon
Rob Dixon wrote: > "Kevin Zembower" wrote: > > Rob, John, Bob, thanks for all your help and suggestions. I took Rob's suggestion > > and copied all the contents onto my hard drive: > > > > [snip] > > > > Then, I edited, listed and ran the program: > > [EMAIL PROTECTED]:~/RapheTask$ cat ./processAVi

Re: Problems with File::Find stopping on directory with space in name RESOLVED (sort of)

2003-07-30 Thread Rob Dixon
"Kevin Zembower" wrote: > Rob, John, Bob, thanks for all your help and suggestions. I took Rob's suggestion > and copied all the contents onto my hard drive: > > [snip] > > Then, I edited, listed and ran the program: > [EMAIL PROTECTED]:~/RapheTask$ cat ./processAVimages.pl > #! /usr/bin/perl -w >

Problems with File::Find stopping on directory with space in name RESOLVED (sort of)

2003-07-30 Thread KEVIN ZEMBOWER
Rob, John, Bob, thanks for all your help and suggestions. I took Rob's suggestion and copied all the contents onto my hard drive: [EMAIL PROTECTED]:~/RapheTask$ mkdir cd [EMAIL PROTECTED]:~/RapheTask$ cp -aRv /cdrom cd/ `/cdrom' -> `cd/cdrom' `/cdrom/JPEG Covers' -> `cd/cdrom/JPEG Covers' `/cdro

Re: problems with File::Find

2002-09-03 Thread Pam Derks
Thanks very much for the help! what I was stumbling on was... if File::Find give us directory/filename we still need to open up each file, and to do this we use open(FILE, $_) rather than trying read the name of a file, in which case $_ would neve give us the contents of that file many thank

Re: problems with File::Find

2002-09-03 Thread John W. Krahn
Pam Derks wrote: > > Hi, > > Newbie here...I'm trying to find the string "Take our survey" in all the files that >match this pattern, traversing multiple directories. When I run it I get no >filenames. I'm positive the string exists. Any ideas as to what I'm doing wrong. > > Thanks for any he

Re: problems with File::Find

2002-09-03 Thread Michael Fowler
On Tue, Sep 03, 2002 at 04:33:37PM -0700, Pam Derks wrote: [snip] > #!/usr/bin/perl > #process all files in directory www/htdocs > > use File::Find; > @ARGV = qw(/dept/unxmkt/www/htdocs) unless @ARGV; > find(\&find_it, @ARGV); > >sub find_it{ >foreach $_(@ARGV){ > wh

problems with File::Find

2002-09-03 Thread Pam Derks
Hi, Newbie here...I'm trying to find the string "Take our survey" in all the files that match this pattern, traversing multiple directories. When I run it I get no filenames. I'm positive the string exists. Any ideas as to what I'm doing wrong. Thanks for any help, Pam Here's what I've got..