in reply to Re^2: using wildcard character * in perlscript command line
in thread using wildcard character * in perlscript command line
If the value passed to glob doesn't contain a wildcard, it is passed through untouched.
P:\test>perl -wle" print for glob '-debug' " -debug
As for the why, if there is no file of that name existing, you'll need someone with the historical perspective (merlyn?).
Maybe, just so that it doesn't affect non-wildcard parameters?
Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.
|
---|
In Section
Seekers of Perl Wisdom