rrwo has asked for the wisdom of the Perl Monks concerning the following question:
I need a better name for a Perl module. I asked the following on comp.lang.perl.modules a few days ago with no answers:
I am working on a module which will be used to filter setpoint alarms in an energy management system based on when they last occurred: if a given value between a range was triggered in the last X seconds, return false, otherwise return true. The module may have more generic uses as an age-filter of numerical values:It's tentatively called SetPoint::AgeFilter but SetPoint::* is not very friendly towards the module-name hierarchy. The Filter::* namespace isn't appropriate since Perl source filters are used there. I'm open to suggestions for better names.$f->add_point('100,199', 900); # 100..199 once every 15 min $f->add_point('200,' , 60); # 200... once every minute $f->test_point(210); # returns true $f->test_point(211); # returns false sleep(61); # wait over 60 seconds $f->test_point(211); # returns true now
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need a better name for a module...
by kschwab (Vicar) on Jul 11, 2001 at 04:26 UTC | |
|
Re: Need a better name for a module...
by MZSanford (Curate) on Jul 11, 2001 at 14:51 UTC | |
by rrwo (Friar) on Jul 11, 2001 at 20:02 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |