From: "Pam Derks" <[EMAIL PROTECTED]> > 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?
Usualy it's the shell's task to do the globbing (expanding wildcards), but Windows' cmd.exe or command.com do not do that. So you have to do it yourself. The easiest way is http://Jenda.Krynicky.cz/#G Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]