Don't use regexp's for the same reason that you shouldn't use them for parsing HTML.
Parse::RecDescent would be a better tool, I think. You might be able to handle the basic syntax that way but what about folks using PDO? It looks superficially like DBI, but... So I doubt you can do that much other than handling very simple cases.
In reply to Re^3: Has anyone attempted to create a PHP to Perl converter?
by einhverfr
in thread Has anyone attempted to create a PHP to Perl converter?
by taint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |