Subject: | Please add Darwin to supported types |
Mac OSX reports 'darwin' as its $^O. This is not supported by
Regexp::Wildcards, so I'm attaching a patch for it. I hope that it fits
for you since this is a nice module and I'd like to help.
In OSX 10.5 (Leopard) this is reported by perl -v:
osname=darwin, osvers=9.0, archname=darwin-thread-multi-2level
Thanks for your time.
Subject: | darwin.patch |
*** Wildcards.pm.orig 2009-02-25 20:33:39.000000000 -0800
--- Wildcards.pm 2009-02-25 20:34:13.000000000 -0800
*************** my %types = (
*** 69,74 ****
--- 69,75 ----
win32 => [ qw/jokers commas/ ],
);
$types{$_} = $types{win32} for qw/dos os2 MSWin32 cygwin/;
+ $types{$_} = $types{unix} for qw/darwin/;
my %escapes = (
jokers => '?*',