Skip to content

Commit

Permalink
Merge pull request #318 from mkende/win32-split
Browse files Browse the repository at this point in the history
Correct the path splitting on Win32
  • Loading branch information
atoomic authored Apr 28, 2024
2 parents bff44ff + 327e9fb commit 2c6122f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Template/Provider.pm
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ sub _init {

# tweak delim to ignore C:/
unless (defined $dlim) {
$dlim = MSWin32 ? ':(?!\\/)' : ':';
$dlim = MSWin32 ? qr/:(?!\\|\/)/ : qr/:/;
}

# coerce INCLUDE_PATH to an array ref, if not already so
Expand Down

0 comments on commit 2c6122f

Please sign in to comment.