This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
FindBin.pm on Win32 systems
authorSlaven Rezic <slaven@rezic.de>
Mon, 4 Jan 1999 23:01:46 +0000 (00:01 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 6 Jan 1999 11:25:48 +0000 (11:25 +0000)
To: perlbug@perl.com
Message-Id: <199901042201.XAA01875@cabulja.herceg.de>

p4raw-id: //depot/cfgperl@2571

lib/FindBin.pm

index d6bd7b7..cd1871f 100644 (file)
@@ -89,7 +89,7 @@ sub is_abs_path
  local $_ = shift if (@_);
  if ($^O eq 'MSWin32' || $^O eq 'dos')
   {
-   return m#^[a-z]:[\\/]#i;
+   return m#^([a-z]:[\\/]|\\\\)#i;
   }
  elsif ($^O eq 'VMS')
   {