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
"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
>
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
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
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
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
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..