RE: FW: delete files

2001-05-16 Thread Paul
--- "Porter, Chris" <[EMAIL PROTECTED]> wrote: > Silly question --- where do i exactly insert all of my information > that points to where my changes need to be made. Sorry if this is a > stupid question. Thank you. If you don't know, it would be sillier not to ask. =o) chdir "/the/directo

Re: FW: delete files

2001-05-15 Thread Paul
--- "Porter, Chris" <[EMAIL PROTECTED]> wrote: > Any ideas??? > > me. I want to create a script that deletes uppercase words from a > > directory using the unlink command. Probably a very simple thing chdir $dir or die $!; opendir DIR, "." or die $!; for my $file (grep { -f $_ } read

Re: FW: delete files

2001-05-15 Thread Jos Boumans
Chris, You might want to start by reading the documentation for 'opendir' (perldoc -f opendir) or view it online here: http://www.perl.com/pub/doc/manual/html/pod/perlfunc/opendir.html Now, you can then use a simple regexp (perldoc perlre) to see if you have any all-uppercase characters in your