According to the SQL::Parser
documentation
In example #4, however, the value of $success will be false because the string contains a SQL syntax error ('FRoOM' instead of 'FROM').
the SELECT statement in the title should be invalid. Annoyingly SQL::Parser
treates the statement as valid:
perl -MSQL::Parser -E 'say SQL::Parser->new->parse("SELECT * FRoOM foo ")'
1