Re: [PATCH perlsnap] '-' !~ /\w/
Philip Newton [Mon, 2 Jul 2001 22:06:22 +0000 (00:06 +0200)]
(no Message-Id)

p4raw-id: //depot/perl@11108

ext/NDBM_File/hints/linux.pl

index 47f9d2c..405afa7 100644 (file)
@@ -3,4 +3,4 @@
 # (no null key support)
 # Jonathan Stowe <gellyfish@gellyfish.com>
 use Config;
-$self->{LIBS} = ['-lgdbm'] if $Config{libs} =~ /\b-lgdbm\b/;
+$self->{LIBS} = ['-lgdbm'] if $Config{libs} =~ /(?:^|\s)-lgdbm(?:\s|$)/;