Re: Directories, Arrays

2001-10-26 Thread Andrea Holstein
"Beau E. Cox" wrote: > >>3. How do I do a pattern search that looks for capital > >>words only? > > Try this: > > my $test = "Test: HELLO my name is BEAU Cox"; > $_ = $test; > my @cap_words = /\s*([A-Z0-9\.@_]+?)\s+/g; > print "@cap_words\n"; > > NOTE: the search

RE: Directories, Arrays

2001-10-26 Thread Beau E. Cox
Hi Ben, I am _not_ an expert, but... >>1. How can I get a directory listing ONLY? Try File::Find (search www.CPAN.org for the package documentation - It should be in your Perl distribution by default. #!/usr/bin/perl # # File:Find recursive directory search example example # use strict;