When it comes to perl, I am mostly clueless.
I have defined a class. I define an AUTOLOAD function for it. When I call a non-existent method on an object instance of the class, the calling script eats up nearly all of the memory and my machine nearly freezes.
The class uses DBI. Could that have something to do with this.
How can I find out what is causing this memory problem?
Here is a section of the code
use DBI;
sub AUTOLOAD {
my $self = shift;
our $AUTOLOAD;
print "Attempt to call $AUTOLOAD failed.\n";
exit(1);
}