Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • One could also use this alternative: select a piece of text, and apply a template to it. That could, for example, be used to replace an URL by a html link, thus replacing
    <a href="http://use.perl/org/">http://use.perl/org/</a>
    with the default text (here the URL) selected, ready to be overtyped by a different text.

    Or, supposing you have the database table data, formatted as described in the root post, as part of the text document, and you can select it, and apply the SQL-ifying template to it. I think it would be easier to use when you have, say, 5 of those tables and you have to write such an SQL statement for each of them.

    Taking one step further still, it's be nice if the "template" could be based on something you just wrote. Thus: you'd paste the template over the selected text, applying the template to the data it replaces.