in reply to system and wildcard expansion?

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.

Replies are listed 'Best First'.
Re^2: system and wildcard expansion?
by roboticus (Chancellor) on Nov 11, 2010 at 12:39 UTC

    samarzone:

    Nice try, but single quotes have nothing to do with it here: There's nothing to interpolate in the string.

    ...roboticus