Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I've been thinking of doing something similar for some SQL::Statement subclasses I've been working on, but you beat me to it. (S::S just does progressive regexes, which makes for some very muddy code at times). Should be very helpful in getting those subclasses done.

    BTW: I noted you only support ANSI comments; have you considered support for C style "/* ... */" comments ? (many databases support the latter).

    Also wrt named placeholders, I don't know if its possible, but it might be nifty to directly reference Perl variables. I've done that with SQL::Preproc, but it uses a source filter, which scares most people off.

    • I thank you for using my code :-) I'll implement the C style comments, following your suggestion.

      I'll see if the direct references to Perl variables when using named placeholders is a Good Thing(tm).

      I'm planning to release the code-that-was-named Tao::DBI when I find a new name for that. Some friends of mine suggested DBIx::WithPlaceholder, but I'm planning to ask about it at Perlmonks.
      --
      Igor Sutton