Building on your previous suggestion, now I'm thinking I could do something like this:
$AUTOLOAD =~ /.*::(get|bundle)(_next)*(_\w+)_files*$/
The bundle mode would also create an object that's just a list of files except you would perform operations on. So instead of:
You would just do:while ($s->get_next_blah_file) { $s->delete($s->selected_file); }
my $bundle = $s->bundle_blah_files; $bundle->delete;
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to Re^12: How to completely destroy class attributes with Test::Most?
by nysus
in thread How to completely destroy class attributes with Test::Most?
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |