From: Steve Hancock Date: Thu, 29 Oct 2020 14:50:19 +0000 (-0700) Subject: update all AUTOLOAD subs to display VERSION X-Git-Tag: 20201001.03~25 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3057ba8826050d8ee6ffc084b17e5245f7e4458d;p=perltidy.git update all AUTOLOAD subs to display VERSION --- diff --git a/lib/Perl/Tidy/Diagnostics.pm b/lib/Perl/Tidy/Diagnostics.pm index 6b9dd50c..7a39bcf8 100644 --- a/lib/Perl/Tidy/Diagnostics.pm +++ b/lib/Perl/Tidy/Diagnostics.pm @@ -30,9 +30,11 @@ sub AUTOLOAD { our $AUTOLOAD; return if ( $AUTOLOAD =~ /\bDESTROY$/ ); my ( $pkg, $fname, $lno ) = caller(); + my $my_package = __PACKAGE__; print STDERR <