From f2d72df4973205a34bc2bf18ae808759ccbb4986 Mon Sep 17 00:00:00 2001 From: dms Date: Tue, 15 Aug 2000 11:27:25 +0000 Subject: [PATCH] warning (typo) fixed git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@45 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Misc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Misc.pl b/src/Misc.pl index 03a1732..cbb31e7 100644 --- a/src/Misc.pl +++ b/src/Misc.pl @@ -76,7 +76,7 @@ sub getPath { my ($pathnfile) = @_; ### TODO: gotta hate an if statement. - if (/(.*)\/(.*?)$/) { + if ($pathnfile =~ /(.*)\/(.*?)$/) { return $1; } else { return "."; -- 2.39.5