NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Location also cached? (Score:1)
Reply to This
Re:Location also cached? (Score:1)
The document is cached ONLY at the instant that it is loaded. Otherwise what exists in the cache would not be deterministic. There could be all sorts of crap appear in the document you weren't expecting when you loaded it.
That said, ->index_locations isn't _too_ expensive to do per-load. It's only expensive if you needed to do it per ->location call.