echo and its argument junk* are written inside single quote, so I don't think interpolation can take place inside perl. The command and its arguments are passed as it is and it is the shell who must be interpreting the '*'
Try to run commands echo junk* and type junk* on the shell from the same directory and you'll notice the difference. Sorry. Incorrect explanation. You've already done that.
In reply to Re: system and wildcard expansion?
by samarzone
in thread system and wildcard expansion?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |