in reply to Lots and lots of arguments!

"...accept a lot of arguments"

How many? If it's < 100 Getopt::Long might be a solution;-)

But please be aware that nobody likes such a command line interface. Perhaps except the users or of tar.

Please provide some more details for more help.

Update: Fixed typo.

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

Replies are listed 'Best First'.
Re^2: Lots and lots of arguments! (grep)
by tye (Sage) on Dec 11, 2014 at 17:44 UTC

    You've never used grep on even 100 files? I often pass many hundreds of arguments to command-line programs.

    But then, with a phrase like "four or five seems a bit on the outrageous side", I suspect that I have little idea what is really being talked about in the root node. :)

    - tye        

      Sometimes i wonder if a reply by you is an honor or a penalty.

      I think you mean something like: ./foo.pl a b c d e f g h (and many more).

      And me: ./foo.pl -a nose -b cuke -c foo -d bar | ./bar -t -A -e (and many more).

      "...a phrase like "four or five seems a bit on the outrageous side", I suspect that I have little idea what is really being talked about.."

      Aha. I see it clearly now. That means i don't have a little idea?

      Anyway, my best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

        karlgoethebier:

        I think it's more like this:

        find /some/place -type f -print0 | xargs -0 ./foo.pl

        I've already done that a dozen times today. I'd agree that typing in very many arguments by hand would be a PITA, but quite a few of us automate our already-automated tasks.

        ...roboticus

        When your only tool is a hammer, all problems look like your thumb.