TSQL::AST::SQLTryCatchBlock - Represents TSQL Try Catch block.
Represents the parsed version/AST of a BEGIN TRY/END CATCH block of TSQL statements.
<dedmedved at cpan.org>
It creates and returns a new TSQL::AST::SQLTryCatchBlock object.
$trycatchblock->parse( integer index into array, array of sqlfragments )
This is the method which parses the split up SQL code.
Array of TSQL::AST::SQLStatement for the try section of the block just parsed.
Array of TSQL::AST::SQLStatement for the catch section of the block just parsed.
No limitations are currently known, as far as the intended usage is concerned. You *are* bound to uncover a large number of problems.
Please report any problematic cases.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2012 Ded MedVed.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.