Re: [EMBPERL]: Broke tied filehandle interface ?

1999-12-08 Thread Gerald Richter


 In this case, optRawInput was set. I have a directive

 PerlSetVar EMPBERL_OPTIONS 16

 in my httpd.conf file.

 Besides, if this was really the problem, why readline GNUPG doesn't work
 ?


Try to place a [+ $optRawInput +] before the block. This should show a 1, if
not optRawInput isn't really set

Gerald




RE: [EMBPERL]: Broke tied filehandle interface ?

1999-12-07 Thread Gerald Richter

   [-
   use GnuPG::Tie::Encrypt;

   tie *GNUPG, 'GnuPG::Tie::Encrypt', gnupg_path = '/usr/bin/gpg',
armor = 1, recipient = 'Francis'
   or die "Error tying variable\n";
   print GNUPG "Hello world\n";
   local $/ = undef;
   $text = GNUPG;
   close GNUPG;
   untie *GNUPG;
   -]


You need to set optRawInput (either in a block before this one, or in your
httpd.conf) or you must escape GNUPG like lt;GNUPGgt;, otherwise Embperl
removes the filehandle, because it "thinks" it's an unwanted html tag
inserted by an high level html editor.

Gerald



Re: [EMBPERL]: Broke tied filehandle interface ?

1999-12-07 Thread Francis J. Lacoste

Gerald Richter wrote:
 
[-
use GnuPG::Tie::Encrypt;
 
tie *GNUPG, 'GnuPG::Tie::Encrypt', gnupg_path = '/usr/bin/gpg',
 armor = 1, recipient = 'Francis'
or die "Error tying variable\n";
print GNUPG "Hello world\n";
local $/ = undef;
$text = GNUPG;
close GNUPG;
untie *GNUPG;
-]
 
 
 You need to set optRawInput (either in a block before this one, or in your
 httpd.conf) or you must escape GNUPG like lt;GNUPGgt;, otherwise Embperl
 removes the filehandle, because it "thinks" it's an unwanted html tag
 inserted by an high level html editor.
 

In this case, optRawInput was set. I have a directive

PerlSetVar EMPBERL_OPTIONS 16

in my httpd.conf file.

Besides, if this was really the problem, why readline GNUPG doesn't work
?

Thanks for your insights


-- 
Francis J. Lacoste   iNsu Innovations Inc.  
Vice-Président développement  Tél.: (514) 336-5544
[EMAIL PROTECTED]  Fax.: (514) 336-8128