You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl-cvs@perl.apache.org by ri...@apache.org on 2004/04/21 08:11:12 UTC

cvs commit: embperl/podsrc Config.spod

richter     2004/04/20 23:11:12

  Modified:    .        Changes.pod test.pl
               podsrc   Config.spod
  Log:
  fix make test on redhat
  
  Revision  Changes    Path
  1.240     +4 -0      embperl/Changes.pod
  
  Index: Changes.pod
  ===================================================================
  RCS file: /home/cvs/embperl/Changes.pod,v
  retrieving revision 1.239
  retrieving revision 1.240
  diff -u -r1.239 -r1.240
  --- Changes.pod	2 Apr 2004 05:10:41 -0000	1.239
  +++ Changes.pod	21 Apr 2004 06:11:11 -0000	1.240
  @@ -6,6 +6,10 @@
   
      - Addeded configuration directive Embperl_Object_Reqpath, which allows to
        search serveral directories for the file of the initial request.
  +   - Added $epreq -> param -> cgi method to access the CGI.pm object. CGI.pm
  +     object is only available in case of a file upload
  +   - Fixed make test problem on RedHat, which reported wrong number of errors
  +     due to escaping in Apache error log.
   
   =head1 2.0b11  15. March 2004
   
  
  
  
  1.139     +5 -2      embperl/test.pl
  
  Index: test.pl
  ===================================================================
  RCS file: /home/cvs/embperl/test.pl,v
  retrieving revision 1.138
  retrieving revision 1.139
  diff -u -r1.138 -r1.139
  --- test.pl	14 Mar 2004 18:54:43 -0000	1.138
  +++ test.pl	21 Apr 2004 06:11:12 -0000	1.139
  @@ -1602,7 +1602,10 @@
               !($_ =~ /EmbperlDebug: /) &&
               $_ ne 'Use of uninitialized value.')
   	    {
  -	    $cnt-- ;
  +		# count literal \n as newline,
  +		# because RedHat excapes newlines in error log
  +	    my @cnt = split /(?:\\n)+/ ;	
  +	    $cnt -= @cnt ; 
   	    if ($cnt < 0)
   		{ 
   		print "\n\n" if ($cnt == -1) ;
  
  
  
  1.12      +18 -1     embperl/podsrc/Config.spod
  
  Index: Config.spod
  ===================================================================
  RCS file: /home/cvs/embperl/podsrc/Config.spod,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Config.spod	2 Apr 2004 05:10:41 -0000	1.11
  +++ Config.spod	21 Apr 2004 06:11:12 -0000	1.12
  @@ -54,7 +54,6 @@
       Options     ExecCGI
       </files>
   
  -
   Another possibility is to have all files under a special location processed by Embperl:
   
       PerlModule Embperl
  @@ -616,6 +615,24 @@
   separated by C<;> (on Unix C<:> works also). The parameter for C<Execute> and
   the application object method expects/returns an array reference.
   
  +Example:
  +
  +if you say
  +
  +    Embperl_Object_Reqpath  /a:/b:/c
  +
  +and you request 
  +
  +    /x/index.epl
  +
  +it will try
  +
  +    /x/index.epl
  +    /a/index.epl
  +    /b/index.epl
  +    /c/index.epl
  +
  +and take the first one that is found.
   
   
   =head2 *CFG $application / Embperl_OBJECT_STOPDIR / object_stopdir / 1.3b1 / no 
  
  
  

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