How to port Apache::File from mp1 to mp2

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

<div>i dont=A0 want=A0 to=A0 use=A0 Apache2::Compat </div>
<div>=A0</div>
<div>mp 1 code</div>
<div>=A0</div>
<div>my $fh =3D Apache::File->new($self->{TicketSecret}) || return;</=
div>
<div>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $self->{SECRET_KEY} =3D <$fh&g=
t;;</div>
<div>=A0</div>
<div>i need=A0 to=A0 convert=A0 it=A0 into=A0 mp2=A0 <br clear=3D"all"><br>=
-- <br>Life is Just a dream on the way to death...........<br>Regards<br>Sh=
antlingayya <br></div>

--e0cb4e43ce691fe424049e9a2b79--
shantlingayya.swamy [ Mi, 16 März 2011 15:14 ] [ ID #2056643 ]

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

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
Clinton Gormley [ Mi, 16 März 2011 15:18 ] [ ID #2056644 ]
Webserver » gmane.comp.apache.mod-perl » How to port Apache::File from mp1 to mp2

Vorheriges Thema: How find out mod_perl files
Nächstes Thema: robots.txt with httpd and root level SetHandler perl-script