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.
In reply to Re: Design question: storing package 'flags'.
by Corion
in thread Design question: storing package 'flags'.
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |