in reply to create a perl script for pattern matching

There's a module that parses SQL, which might reduce your task:

http://search.cpan.org/~duncand/SQL-Routine-SQLParser-0.01/lib/SQL/Routine/SQLParser.pm

One world, one people

  • Comment on Re: create a perl script for pattern matching