Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Checking lots of conditions...ORed and ANDed

by stvn (Monsignor)
on Jun 08, 2004 at 17:38 UTC ( [id://362455]=note: print w/replies, xml ) Need Help??


in reply to Checking lots of conditions...ORed and ANDed

I have to agree with NetWallah, this sounds like a you need a state-machine. Which is really what you have started doing already, although in a highly specific way. Your approach and code can only benefit from reading some of the theory about it, since it is a rather highly developed concept. There are a number of resources on the web for such things, and surely there is a CPAN module out there which would suit your needs.

-stvn
  • Comment on Re: Checking lots of conditions...ORed and ANDed

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://362455]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-20 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found