perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/src/docs/2.0/api/APR PerlIO.pod
Date Fri, 02 Jul 2004 16:51:18 GMT
stas        2004/07/02 09:51:18

  Modified:    src/docs/2.0/api/APR PerlIO.pod
  Log:
  rework the prerequisites section
  
  Revision  Changes    Path
  1.9       +21 -6     modperl-docs/src/docs/2.0/api/APR/PerlIO.pod
  
  Index: PerlIO.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/APR/PerlIO.pod,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -u -r1.8 -r1.9
  --- PerlIO.pod	22 May 2004 02:03:26 -0000	1.8
  +++ PerlIO.pod	2 Jul 2004 16:51:18 -0000	1.9
  @@ -41,24 +41,39 @@
   to APR. But you can use APR Perl IO directly if you want.
   
   
  +=head1 Prerequisites
   
  +Not every Perl will have full C<APR::PerlIO> functionality available.
   
  +Before using the Perl IO APR layer one has to check whether it's
  +supported by the used APR/Perl build. Perl 5.8.x or higher with perlio
  +enabled is required. You can check whether your Perl fits the bill by
  +running:
   
  -=head1 Constants
  -
  -
  +  % perl -V:useperlio
  +  useperlio='define';
   
  -=head2 APR::PerlIO::PERLIO_LAYERS_ARE_ENABLED
  +It should say I<define>.
   
  -Before using the Perl IO APR layer one has to check whether it's
  -supported by the used APR/Perl build.
  +If you need to do the checking in the code, there is a special
  +constant provided by C<APR::PerlIO>, which can be used as follows:
   
  +  use APR::PerlIO ();
     die "This Perl build doesn't support PerlIO layers"
         unless APR::PerlIO::PERLIO_LAYERS_ARE_ENABLED;
   
   Notice that loading C<APR::PerlIO> won't fail when Perl IO layers
   aren't available since C<APR::PerlIO> provides functionality for Perl
   builds not supporting Perl IO layers.
  +
  +
  +=head1 Constants
  +
  +
  +
  +=head2 C<APR::PerlIO::PERLIO_LAYERS_ARE_ENABLED>
  +
  +See L<Prerequisites|/Prerequisites>.
   
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message