-
- Downloads
Various small improvements and cleanups for PL/Perl.
- Allow (ineffective) use of 'require' in plperl If the required module is not already loaded then it dies. So "use strict;" now works in plperl. - Pre-load the feature module if perl >= 5.10. So "use feature :5.10;" now works in plperl. - Stored procedure subs are now given names. The names are not visible in ordinary use, but they make tools like Devel::NYTProf and Devel::Cover much more useful. - Simplified and generalized the subroutine creation code. Now one code path for generating sub source code, not four. Can generate multiple 'use' statements with specific imports (which handles plperl.use_strict currently and can easily be extended to handle a plperl.use_feature=':5.12' in future). - Disallows use of Safe version 2.20 which is broken for PL/Perl. http://rt.perl.org/rt3/Ticket/Display.html?id=72068 - Assorted minor optimizations by pre-growing data structures. Patch from Tim Bunce, reviewed by Alex Hunsaker.
Showing
- doc/src/sgml/plperl.sgml 31 additions, 32 deletionsdoc/src/sgml/plperl.sgml
- src/pl/plperl/expected/plperl.out 13 additions, 2 deletionssrc/pl/plperl/expected/plperl.out
- src/pl/plperl/expected/plperl_plperlu.out 5 additions, 4 deletionssrc/pl/plperl/expected/plperl_plperlu.out
- src/pl/plperl/plc_perlboot.pl 18 additions, 10 deletionssrc/pl/plperl/plc_perlboot.pl
- src/pl/plperl/plc_safe_bad.pl 11 additions, 13 deletionssrc/pl/plperl/plc_safe_bad.pl
- src/pl/plperl/plc_safe_ok.pl 19 additions, 17 deletionssrc/pl/plperl/plc_safe_ok.pl
- src/pl/plperl/plperl.c 158 additions, 93 deletionssrc/pl/plperl/plperl.c
- src/pl/plperl/sql/plperl.sql 9 additions, 1 deletionsrc/pl/plperl/sql/plperl.sql
- src/pl/plperl/sql/plperl_plperlu.sql 6 additions, 4 deletionssrc/pl/plperl/sql/plperl_plperlu.sql
Loading
Please register or sign in to comment