in reply to Re: Process multiple filenames from command line or STDIN
in thread Process multiple filenames from command line or STDIN

But I'm not trying to use a wildcard in the command line, so I'm not sure how this applies to my question.

I am using Ubuntu.

  • Comment on Re^2: Process multiple filenames from command line or STDIN

Replies are listed 'Best First'.
Re^3: Process multiple filenames from command line or STDIN
by Marshall (Canon) on Mar 18, 2016 at 22:55 UTC
    Ok. I was thinking in a more complex direction.

    If you have an enumerated list (no wildcards)on the command line, then you need to read multiple things from the command line.

    Assign an array, @names = @ARGV instead of scalar like $names. iterate over the @names.

    please when you update code, do not delete the original post. This just confuses folks.

    update: oh I see that I'm wrong here. I'm doing this on a very small screen and I didn't see it. Oops.