in reply to Design question: storing package 'flags'.
If you want to have different contexts/configurations, return them as values and don't have use trickery. Follow the example of (say) XML::LibXML , Spreadsheet::ParseExcel and DBI, which give you a "handle" or a "parser" that you configure and then run.
|
|---|