Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Locale-Maketext CPAN distribution.

Report information
The Basics
Id: 16111
Status: rejected
Priority: 0/
Queue: Locale-Maketext

Owner: ferreira [...]
Requestors: peter [...]

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Subject: Missing documentation for method clear_isa_scan
Download (untitled) / with headers
text/plain 331b
It would be nice if some documentation about the funtion clear_isa_scan was added. I found it by accident. It's a good way to clear Locale::Maketext::isa_scan cache when you need to re-import you po-files. My suggestion: * YourProjClass->clear_isa_scan Clears the cache. Is used when you need to import an updated po file again.
I disagree that clear_isa_scan() should be documented (at least as it is). It is a typical internal function which is tied to the current implementation of Locale::Maketext. Notice that when you call it, what you get is to make Locale::Maketext to recalculate lexicon inheritance (as Dan Muey said first - in the docs inside the attached tarball at This can be useful during testing but it is not directly connected to refreshing the lexicon's content, as your comment "when you need to re-import you po-files" seems to imply. The behavior you see can be due to the module you use under Locale::Maketext - maybe Locale::Maketext::Gettext of Locale::Maketext::Lexicon::Gettext. If the lexicons are Perl hashes as in the original framework of Sean Burke's code, its modifications will be kept and you will see them after the lexicons are recomputed. So clear_isa_scan() is not that useful and a real framework to force refreshing/reloading lexicons still needs to be designed (either by code or convention).

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to