develooper Front page | perl.perl5.porters | Postings from October 2003

[ [cpan #4225] warn/die inside Safe]

Jarkko Hietaniemi
October 28, 2003 10:27
[ [cpan #4225] warn/die inside Safe]
Message ID:
----- Forwarded message from Guest via RT <> -----

Subject: [cpan #4225] warn/die inside Safe 
From: "Guest via RT" <>
Date: Tue, 28 Oct 2003 12:51:18 -0500 (EST)
Message-ID: <>
To: "AdminCc of cpan Ticket #4225": ;
In-Reply-To: <rt-4225@cpan>
RT-Ticket: cpan #4225
Managed-by: RT 2.0.15 (

This message about perl was sent to you by guest <> via

Full context and any attached attachments can be found at:
<URL: >

Attached to this report is a script that causes the following error when
run on my server (Debian Linux [Woody], Perl 5.6.1 with Safe v2.09):

 Can't locate object method "splitpath" via package "File::Spec"
(perhaps you forgot to load "File::Spec"?) at
/usr/share/perl/5.6.1/CGI/ line 317.

I have tried debugging the script but receive seg faults within the reval function. I submitted a bug report to Lincoln Stein who maintains the CGI::Carp module. However, the problem is not specifically within CGI::Carp but is rather how modules being used in a Safe compartment are interacting.

As best I can tell, I think there is an issue with the implementation of exception handling in Perl and Safe.

----- End forwarded message -----

Jarkko Hietaniemi <> "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About