From defe77328301ab95dab4132fa212715b0a08f1f8 Mon Sep 17 00:00:00 2001 From: hjp Date: Wed, 18 Dec 2013 16:25:54 +0000 Subject: [PATCH] more tolerant parsing of credential file --- dbi/dumpsql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbi/dumpsql b/dbi/dumpsql index cf77810..8359365 100755 --- a/dbi/dumpsql +++ b/dbi/dumpsql @@ -44,7 +44,7 @@ sub _read_cred { open(FN, "<$fn") or die "cannot open $fn: $!"; my $line = ; close(FN); - my @cred = split(/[\s\n]/, $line); + my @cred = split(/\s+/, $line); return @cred; }