At 4:46 PM -0700 9/4/06, David E. Wheeler wrote: > > If you don't want either of those approaches, then I don't know >> enough about Perl to do what you want, at least not without more >> prompting or help. > >I'm looking at possibly introspecting a code ref without executing >it, but I don't know enough about B or Perl's internals to do much >with it yetI'd be intereseted to see what you've come up with, Darren
If this were Perl 6, I would suggest making your Where function a macro, so that people wrote in Perl, and then you would have a way to convert that into an AST for generating SQL from, in a way that's much easier than using B or some such. But you're using Perl 5, so good luck with your figuring out B et al. -- Darren Duncan _______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
