From 9ddbec057ff7082052db1d657abeec6419f80bcd Mon Sep 17 00:00:00 2001 From: root Date: Sat, 2 Jun 2007 06:43:02 +0000 Subject: [PATCH] yes, perl is not that evil especially when disabled --- doc/rxvt.7.pod | 11 +++++++---- src/urxvt.pm | 3 +++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/rxvt.7.pod b/doc/rxvt.7.pod index 3fb8df87..fe215f54 100644 --- a/doc/rxvt.7.pod +++ b/doc/rxvt.7.pod @@ -2479,10 +2479,13 @@ Add support to have the pointer disappear when typing or inactive. =item --enable-perl (default: on) Enable an embedded perl interpreter. See the B<@@RXVT_NAME@@perl(3)> -manpage (F) for more info on this feature, or the files -in F for the extensions that are installed by default. The -perl interpreter that is used can be specified via the C environment -variable when running configure. +manpage (F) for more info on this feature, or the +files in F for the extensions that are installed by +default. The perl interpreter that is used can be specified via the +C environment variable when running configure. Even when compiled +in, perl will I be initialised when all extensions have been disabled +C<-pe "" --perl-ext-common "">, so it should be safe to enable from a +resource standpoint. =item --with-name=NAME (default: urxvt) diff --git a/src/urxvt.pm b/src/urxvt.pm index 05d6f460..87a01067 100644 --- a/src/urxvt.pm +++ b/src/urxvt.pm @@ -28,6 +28,9 @@ thus must be encoded as UTF-8. Each script will only ever be loaded once, even in @@RXVT_NAME@@d, where scripts will be shared (but not enabled) for all terminals. +You can disable the embedded perl interpreter by setting both "perl-ext" +and "perl-ext-common" resources to the empty string. + =head1 PREPACKAGED EXTENSIONS This section describes the extensions delivered with this release. You can -- 2.34.1