http://www.perlmonks.org?node_id=401966


in reply to Re: Command line tool coding style?
in thread Command line tool coding style?

Using a hash would be the simple option, indeed, but leads to less generalized code. If I had to do something like this again, I'd do it precisely as perrin suggested.

Makeshifts last the longest.