All of a sudden my browser froze up and nothing happened anymore. As it turns out, I had unknowingly introduced a nasty bug into the fancy web application I was working on. This resulted in the dreaded 'deep recursion' error which can be triggered to raise its ugly head by something as innocent looking as this:
sub show_bugs (
my $recurse = shift;
# do something
show_bugs(1) if !$recurse;
}
As you can see here, it is important that one NOT forget the !$recurse
or it's dooms day all over again. Be careful, it's a dangerous and unpredictable world out there.