Mailing List Archive

How to port Apache::File from mp1 to mp2
i dont want to use Apache2::Compat

mp 1 code

my $fh = Apache::File->new($self->{TicketSecret}) || return;
$self->{SECRET_KEY} = <$fh>;

i need to convert it into mp2

--
Life is Just a dream on the way to death...........
Regards
Shantlingayya
Re: How to port Apache::File from mp1 to mp2 [ In reply to ]
On Wed, 2011-03-16 at 10:14 -0400, shant..... wrote:
> i dont want to use Apache2::Compat
>
> mp 1 code
>
> my $fh = Apache::File->new($self->{TicketSecret}) || return;
> $self->{SECRET_KEY} = <$fh>;
>
> i need to convert it into mp2

http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__File_


clint