[Pdx-pm] Getopt::Modern usage model

Eric Wilhelm ewilhelm at sbcglobal.net
Thu Jun 9 17:01:10 PDT 2005

# The following was supposedly scribed by
# Michael G Schwern
# on Thursday 09 June 2005 01:23 pm:

>Also, please allow --foo=3 to be a synonym for --foo 3.

The trouble here is that you don't get shell interpolation for the stuff 
after the equals:

  perl -e 'print join(" ", @ARGV), "\n"' -- --foo=~ --foo ~

Is there a good, secure, reliable, cross-platform way to do shell 
expansion within Perl?   Otherwise it seems like a source of confusion 
(not good since the point of this module is to avoid those.)

Entia non sunt multiplicanda praeter necessitatem. 
                                            -- Occam's Razor

More information about the Pdx-pm-list mailing list