{ my %cache; sub foo { ... } sub dump_foo { require Data::Dumper; print Data::Dumper::Dumper(\%cache); } } [download]
In reply to Re: How to test caching? by FunkyMonk in thread How to test caching? by JavaFan