This file documents the revision history for Perl extension HTTP::Request::AsCGI.
+0.3 2005-11-18 00:00:00 2005
+ - silence uninitialized warnings when restoring %ENV
+
0.2 2005-10-31 00:55:00 2005
- added test for response.
__PACKAGE__->mk_accessors(qw[ enviroment request stdin stdout stderr ]);
-our $VERSION = 0.2;
+our $VERSION = 0.3;
sub new {
my $class = shift;
sub restore {
my $self = shift;
-
- %ENV = %{ $self->{restore}->{enviroment} };
+
+ {
+ no warnings 'uninitialized';
+ %ENV = %{ $self->{restore}->{enviroment} };
+ }
open( STDIN, '>&', $self->{restore}->{stdin} )
or croak("Can't restore stdin: $!");