New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in Code Refs Generated by Safe.pm 2.20 #10080
Comments
From david@kineticode.comSubject: Bug in Code Refs Generated by Safe.pm 2.20 This is a bug report for perl from david@kineticode.com, Safe 2.20 has a bug I first noticed in PL/Perl: An anonymous sub created by postgres=# create or replace function wtf(text) returns text language plperl as $$ I was able to fix this by downgrading to Safe.pm 2.19. So somthing changed. I # cat ~/bin/try use strict; my $PLContainer = new Safe('PLPerl'); # cd Safe-2.20 Safe-2.20# try Safe-2.20# cd ../Safe-2.19 Safe-2.19# try I turns out that 2.20 is returning the string "PLPerl" from the sub call, Flags: Site configuration information for perl 5.10.1: Configured by david at Thu Dec 24 13:23:17 PST 2009. Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Locally applied patches: @INC for perl 5.10.1: Environment for perl 5.10.1: |
From @timbunceI've fixed this on my github fork and sent a pull request A new Safe release is needed that should then be included in 5.12. Tim. |
The RT System itself - Status changed from 'new' to 'open' |
From david@kineticode.comOn Jan 14, 2010, at 7:14 AM, Tim Bunce wrote:
Fix confirmed, including in PL/Perl. Thanks! David |
From @rgarcia2010/1/14 David E. Wheeler <david@kineticode.com>:
Thanks, applied to blead, Safe 2.21 on its way to the CPAN. |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#72068 (status was 'resolved')
Searchable as RT72068$
The text was updated successfully, but these errors were encountered: