in reply to specifying numeric values for scalar variables with $ARGV

Hi there,

More information is required: Which operating system (and shell) are you running?

The expansion of wildcards on filename parameters (called globbing) happens outside the Perl script. This is something done by the Unix shell, and is emulated by the operating system specific perl wrapper if the O/S does not do globbing. For example, on VMS the globbing is done by the C runtime library before argv gets passed to perl.

Also, what command line are you passing? Normally shells don't glob if there are no wildcards present.

Update: On second thoughts, it looks as if your number is being picked up by $ARGV[0]. The globbing stuff might be a red herring.

What order are you intending to supply arguments?