From: Matt S Trout Date: Sun, 12 Aug 2012 17:39:35 +0000 (-0700) Subject: when writing AUTOLOAD, always remember to write DESTROY! X-Git-Tag: v1.000000~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9c9a7ae5e59d3c6c7759842661be485aac0fcd9c;p=scpubgit%2FHTML-String.git when writing AUTOLOAD, always remember to write DESTROY! --- diff --git a/lib/HTML/String/Value.pm b/lib/HTML/String/Value.pm index cb73ad2..e26692d 100644 --- a/lib/HTML/String/Value.pm +++ b/lib/HTML/String/Value.pm @@ -96,4 +96,6 @@ sub _hsv_is_true { sub ref { '' } +sub DESTROY { } + 1;