murder AUTOLOAD by default because I keep getting confused by it while debugging
Matt S Trout [Thu, 18 Apr 2019 13:46:31 +0000 (13:46 +0000)]
lib/SQL/Abstract.pm

index 3ea5600..bde5666 100644 (file)
@@ -1645,6 +1645,7 @@ sub AUTOLOAD {
     # This allows us to check for a local, then _form, attr
     my $self = shift;
     my($name) = $AUTOLOAD =~ /.*::(.+)/;
+    puke "AUTOLOAD invoked for method name ${name} and allow_autoload option not set" unless $self->{allow_autoload};
     return $self->generate($name, @_);
 }