develooper Front page | perl.beginners | Postings from December 2002

problems with @ARGV

Thread Next
From:
Pam Derks
Date:
December 21, 2002 07:30
Subject:
problems with @ARGV
Message ID:
se032696.029@unex.berkeley.edu
I'm having difficulties with @ARGV...

I have a several files:
access_log.021204
access_log.021205
access_log.021206

that I want to read in using @ARGV

and then pass these file names to 2 subroutines

At the command line I've tried:
myprogram.pl access*

myprogram.pl
get_file(@ARGV)
get_match(@ARGV)

I've got two questions:
is it possible to use wildcards with @ARGV?
How do I pass @ARGV to these 2 subdirecoties?

Thanks in advance for any help,
Pam


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About