in reply to Re^13: How to completely destroy class attributes with Test::Most?
in thread How to completely destroy class attributes with Test::Most?
"The key motivation for independent iterator objects is that they allow the program to have multiple iterators even on the same category by removing the need for the File::Collector object to track the iterators."
Yes, but there is a big convenience to having File::Collector track the iterators, isn't there? I can call $s->selected_file from anywhere and refer to the same file from any of the various class methods. I don't have to worry about passing the iterator objects around. Or am I missing something?
$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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^15: How to completely destroy class attributes with Test::Most?
by jcb (Parson) on Aug 29, 2019 at 00:01 UTC | |
by nysus (Parson) on Aug 29, 2019 at 11:31 UTC | |
by nysus (Parson) on Aug 29, 2019 at 20:52 UTC | |
by jcb (Parson) on Aug 29, 2019 at 23:07 UTC | |
by nysus (Parson) on Aug 29, 2019 at 23:22 UTC | |
by jcb (Parson) on Aug 29, 2019 at 23:45 UTC | |
| |
by nysus (Parson) on Aug 29, 2019 at 00:17 UTC |