How to port Apache::File from mp1 to mp2

How to port Apache::File from mp1 to mp2

am 16.03.2011 15:14:52 von shantlingayya.swamy

--e0cb4e43ce691fe424049e9a2b79
Content-Type: text/plain; charset=ISO-8859-1

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

--e0cb4e43ce691fe424049e9a2b79
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

i dont=A0 want=A0 to=A0 use=A0 Apache2::Compat

=A0

mp 1 code

=A0

my $fh =3D Apache::File->new($self->{TicketSecret}) || return; div>
          =A0 $self->{SECRET_KEY} =3D <$fh&g=
t;;

=A0

i need=A0 to=A0 convert=A0 it=A0 into=A0 mp2=A0

=
--
Life is Just a dream on the way to death...........
Regards
Sh=
antlingayya


--e0cb4e43ce691fe424049e9a2b79--

Re: How to port Apache::File from mp1 to mp2

am 16.03.2011 15:18:32 von Clinton Gormley

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_A pache__File_


clint