Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: search data structures using SQL

by RichardK (Priest)
on Nov 16, 2013 at 16:53 UTC ( #1062913=note: print w/ replies, xml ) Need Help??


in reply to search data structures using SQL

Do you really need SQL or would an OO interface similar to File::Find::Rule do what you need ?

You'd have to write it yourself, but it's not going to be that difficult, although testing it might be fun ;).

I've written similar code in the past using iterators and closures that allowed me to program arbitrary queries very quickly.

I think writing a full parser for SQL would be a lot more work, but that's going to depend what problem you're actually trying to solve.


Comment on Re: search data structures using SQL

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-11-27 09:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (183 votes), past polls