You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "shant....." <sh...@gmail.com> on 2011/03/16 15:14:52 UTC

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

Posted by Clinton Gormley <cl...@traveljury.com>.
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