Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: search data structures using SQL

by RichardK (Vicar)
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 romping around the Monastery: (5)
As of 2015-07-05 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls