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

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Wednesday May 04, 2005
10:20 PM

Parse this, baby!

[ #24538 ]

I'm quite happy to have overcome a major parsing hurdle today. The following Perl code is eventually parsed down to an abstract syntax tree that our data stores can use to search for information (usually converted to SQL, but not required):

name => 'foo',
( age => BETWEEN [18 => 32] )

However, the following will also reduce down to the same abstract syntax tree:

"name => 'foo',
( age => BETWEEN [18 => 32] )"

What's the difference? The former is Perl code. The latter is a string. The former is useless from a Web client perspective. The latter is a piece of cake if you're working with AJAX.

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.