Changeset 5267 for src/Pugs/Run/Args.hs
- Timestamp:
- 07/07/05 07:44:59 (4 years ago)
- svk:copy_cache_prev:
- 7266
- Files:
-
- 1 modified
-
src/Pugs/Run/Args.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Run/Args.hs
r5158 r5267 162 162 joinDashE ((Opt "-M" mod):args) = joinDashE ((Opt "-E" (";use " ++ mod ++ ";\n")):args) 163 163 164 -- Preserve the curious Perl5 behaviour: 165 -- perl -e 'print CGI->VERSION' -MCGI # works 166 -- perl print_cgi.pl -MCGI # fails 167 joinDashE (x@(Opt "-e" _):y@(Opt "-E" _):args) = joinDashE (y:x:args) 168 joinDashE ((Opt "-E" a):y@(Opt "-e" _):args) = joinDashE ((Opt "-e" a):y:args) 169 164 170 joinDashE ((Opt "-e" a):(Opt "-e" b):args) = 165 171 joinDashE (Opt "-e" combined:args)
