Skip Menu |

This queue is for tickets about the Regexp-Wildcards CPAN distribution.

Report information
The Basics
Id: 43643
Status: resolved
Priority: 0/
Queue: Regexp-Wildcards

People
Owner: Nobody in particular
Requestors: Brucem [...] dynamicrange.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 1.00
  • 1.01
  • 1.02
Fixed in: 1.03



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 => '?*',
Hello, Thanks for your report and your patch. I didn't applied it straight, because many others OS names were also missing, but reporting it was already a great help. I've just uploaded a new version with the fix and some cleanups. Vincent.