devil has asked for the wisdom of the Perl Monks concerning the following question:
script1.pl:
For to compile, I'm using: "perlcc -r -v -o script2 script2.pl". When I run script2, the result is "Segmentation Fault". I've tried to exclude a "new_cookie = ..." and the script runs "ok"(without the necessary). What is the problem?. Maybe something in the libs???. . . use CGI $q = new CGI; . . . script2.pl: require "script1.pl"; . . . $new_cookie = new CGI::Cookie(-name=>'COOKIE_RSVP',-path=>"/",-value=> +""); print $r->redirect(-uri=>'/index.html', -cookie=>[$new_cookie]); . . .
Detail: To compile "Use Some.pm" not works too.
Help me, please!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perlcc problem
by diotalevi (Canon) on Jun 09, 2005 at 20:16 UTC | |
|
Re: perlcc problem
by rlucas (Scribe) on Jun 09, 2005 at 21:45 UTC | |
|
Segfault after compiling with perlcc
by devil (Novice) on Jun 08, 2005 at 19:40 UTC | |
by diotalevi (Canon) on Jun 08, 2005 at 20:08 UTC | |
by ringleader (Acolyte) on Jun 10, 2005 at 10:48 UTC |