--- "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/directory" or die $!; # <<=== edited
> opendir DIR, "." or die $!;
> for my $file (grep { -f $_ } readdir DIR) { # maybe -c?....
> unlink $file if $file =~ /^[A-Z]+$/
> }
> closedir DIR;
The previous version assumed you had done something like:
my $dir = "/the/directory";
Does that help?
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/