From 1d1b2a52dacdd07ea0acb252ad338e7de2ffc13c Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Thu, 25 Jul 2013 20:32:18 -0700 Subject: [PATCH] CGI.pm: eliminate source of uninitialized value warning --- Girocco/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Girocco/CGI.pm b/Girocco/CGI.pm index d9c3459..c58ab5e 100644 --- a/Girocco/CGI.pm +++ b/Girocco/CGI.pm @@ -114,7 +114,7 @@ sub srcname { } sub html_esc { - my ($str) = @_; + my $str = shift || ''; $str =~ s/&/&/g; $str =~ s//>/g; $str =~ s/"/"/g; -- 2.11.4.GIT