Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Re: Favourite modules March 2004

by petdance (Parson)
on Mar 09, 2004 at 02:14 UTC ( #334992=note: print w/replies, xml ) Need Help??

in reply to Re: Favourite modules March 2004
in thread Favourite modules March 2004

update: I think WWW::Mechanize is too powerful for my needs; I don't need an automated browser, only a way to retrieve nodes and possibly have a different cache policy for them. Does this satisfy your curiosity? :)

That's fine. I'm just curious as to what's coming out of the parsing that you're doing that Mech wouldn't do. Also, WWW::Mechanize::Cached does all the caching for you. It uses Cache::Cache, just like you are.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://334992]
[stevieb]: 80 clauses? dispatch table?
[GotToBTru]: no, lookup
[stevieb]: no, I mean have you considered using a dispatch table. an 80 condition if/else is huge :)
[GotToBTru]: that is how this should have been done, no question
[GotToBTru]: probably back when there were 5 or so clauses

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2017-06-22 13:00 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (519 votes). Check out past polls.