in reply to Re^17: How to completely destroy class attributes with Test::Most?
in thread How to completely destroy class attributes with Test::Most?
Ok, but what about the case of a child class of Iterator needing to reach over into another child class with an object attached to one of the attributes? How can my child iterator objects get access to attributes of other child classes if not through File::Collector? Let's say, for example, a File::Collector::Parser::Iterator object needs to get some data from attributes in a File::Collector::HeaderAnalyzer object.
I suppose I could just pass the File::Collector::HeaderAnalyzer objects to the File::Collector::Parser::Iterator object as a bundle. I'll have to play with this some more and see what I come up with. This is hard!
Thanks!
$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^19: How to completely destroy class attributes with Test::Most?
by jcb (Parson) on Aug 29, 2019 at 23:45 UTC | |
by nysus (Parson) on Aug 30, 2019 at 15:11 UTC | |
by jcb (Parson) on Aug 30, 2019 at 23:59 UTC | |
by nysus (Parson) on Aug 30, 2019 at 05:11 UTC | |
by jcb (Parson) on Aug 30, 2019 at 23:54 UTC | |
by nysus (Parson) on Aug 31, 2019 at 06:49 UTC | |
by jcb (Parson) on Aug 31, 2019 at 21:23 UTC | |
|