Recursive find for a file within a directory

2001-07-27 Thread Sudarsan.Raghavan
Hello, I am new to perl. I want to find for a file recursively within a directory. Is there a perl module already present that will do the job for me, or do I have to write my own. My attempt at the same I am trying this on a VMS machine. #Begin searchDirforFile.pl #Usage perl searchDirforFile.p

$_ question

2001-07-27 Thread Sudarsan.Raghavan
All, This may be a stupid question. I was going through some online perl tutorials and they say that $_ is the default input, output and pattern matching variable. I tried this out [suddy@incq231e hash]$ perl ; if (m/under/) { print "Found Under\n"; } else { print "No Match\n"; }

Re: $_ question

2001-07-27 Thread Sudarsan.Raghavan
er > m/^under$/ > > Chris D. Garringer > LAN/WAN Manager > Master Certified Netware Engineer > Microsoft Certified Systems Engineer > Certified Solaris Administrator > Red Hat Certified Engineer > [EMAIL PROTECTED] > fax 713-896-5266 > > >>> "Sudarsan.

Re: $_ question

2001-07-27 Thread Sudarsan.Raghavan
Jos, Thanks for the explanation. Thanks, Sudarsan "Jos I. Boumans" wrote: > it's quite simple > > while, for, etc are operators in a way > they do something with whathever you give them > > for, for example, assigns every every element of a list to $_ > unless you specify differently > > so wh