Hello,

I have a problem with a perl program that use @ARGV.

I need to process several files passing a wildcard filename  as arguments as
in:

perl p1.pl *.txt

in the directory are several files with .txt filename extension

the p1.pl program is (for simplicity) the following:

foreach $filename (@ARGV) {   print "$filename\n"; }

I expect that this program display (print) all name in the directory that
macth *.txt, but it only print
*.txt

Can anyone help me why I can obtain that I want? Need an aditional switch to
call perl to make this?

As your information I am using Windows 98 and the last version of perl -the
613 build- but I have the same problem with the #519 build.

Thanks in advance.

Jorge Colaccini
Rosario, Argentina



---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to