Hi All,
I have a directory full of .txt files that I need to send to
Regexp::Common... I want to over ride the diamond operator by defining the
directory using @ARGV . I'm not sure how I define it.. Please help,
w/o too much laughing! :-)
- the start
Brian Volk wrote:
I have a directory full of .txt files that I need to send to
Regexp::Common... I want to over ride the diamond operator by
defining the directory using @ARGV .
@ARGV = readdir BIN;
Just a thought.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To
Gunnar Hjalmarsson wrote:
@ARGV = readdir BIN;
OTOH, you probably want to exclude at least the '.' and '..'
directories, so maybe
@ARGV = grep { !/^\./ } readdir BIN;
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Brian Volk wrote:
Hi All,
I have a directory full of .txt files that I need to send to
Regexp::Common... I want to over ride the diamond operator by
defining the directory using @ARGV . I'm not sure how I define
it.. Please help, w/o too much laughing! :-)