in reply to Re^4: How to completely destroy class attributes with Test::Most?
in thread How to completely destroy class attributes with Test::Most?
Thanks again. Yeah, I realize the iterators will stomp on one another. It hasn't been a problem but it's definitely sloppy. Maybe I could set up a hash containing a key for each type of queue. But it might be good enough just to throw an error if the file queue is not empty when a new one is created.
Thanks for the tip on Hash::Util. I was not familiar with restricted hashes. I think the code I currently have to check for an existing property is buggy and it's on my list to test and fix.
Yeah, will definitely use File::Spec if I release this.
$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^6: How to completely destroy class attributes with Test::Most?
by jcb (Parson) on Aug 26, 2019 at 04:43 UTC | |
by nysus (Parson) on Aug 26, 2019 at 14:32 UTC | |
by jcb (Parson) on Aug 26, 2019 at 22:34 UTC | |
by nysus (Parson) on Aug 27, 2019 at 23:56 UTC | |
by jcb (Parson) on Aug 28, 2019 at 01:33 UTC | |
| |
by nysus (Parson) on Aug 26, 2019 at 12:49 UTC |