Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 3dfbbc709ae9c0aec62eaa492646bfe4 > files > 2

apache-HTML-Embperl-2.2.0-7mdv2009.0.src.rpm

diff -urP Embperl-2.09b-CVS/eg/x/config.htm embperl/eg/x/config.htm
--- Embperl-2.09b-CVS/eg/x/config.htm	1969-12-31 19:00:00.000000000 -0500
+++ embperl/eg/x/config.htm	2003-03-09 00:35:27.000000000 -0500
@@ -0,0 +1,12 @@
+<html>
+<head>
+<title>Perl config (like perl -V)</title>
+</head>
+<body background="../images/jazzbkgd.gif">
+<pre>
+[- use Config qw (myconfig) ; -]
+[- $c = myconfig () -]
+[+ $c +]
+</pre>
+</body>
+</html>
diff -urP Embperl-2.09b-CVS/eg/x/neu.htm embperl/eg/x/neu.htm
--- Embperl-2.09b-CVS/eg/x/neu.htm	2000-05-02 00:41:40.000000000 -0400
+++ embperl/eg/x/neu.htm	2003-03-09 00:35:28.000000000 -0500
@@ -6,9 +6,8 @@
 </head>
 <body background="../images/jazzbkgd.gif">
 <p>[- $escmode = 7 -][- $b = defined($fdat{back})-][- $c =
-defined($fdat{cont})-][-$kn = $fdat{Kundennummer} eq 'Ja'-][-$p =
-$fdat{page}<br>
--][$if $p==0 or ($p==2 and $b) or ($p==4 and $b and !$kn)$]</p>
+defined($fdat{cont})-][-$kn = $fdat{Kundennummer} eq 'Ja'-][-$p = $fdat{page}-]
+[$if $p==0 or ($p==2 and $b) or ($p==4 and $b and !$kn)$]</p>
 <h1 align="center">Eintragen eines neuen Objekts</h1>
 <div align="center"><center>
 <table border="2" cellpadding="3" cellspacing="6" width="500">
@@ -121,9 +120,7 @@
 </center></div>
 <p>&#160;</p>
 <p>&#160;</p>
-<p>&#160;[$elsif !$kn and<br>
-(($p==1 and $c) or<br>
-($p==5 and $b))$]</p>
+<p>&#160;[$elsif !$kn and (($p==1 and $c) or ($p==5 and $b))$]</p>
 <div align="center"><center>
 <table border="2" cellpadding="3" cellspacing="6" width="500">
     <tr>
@@ -214,7 +211,7 @@
 </table>
 </center></div>
 <p>&#160;</p>
-<p>[$elsif ($p==4 &amp;&amp; $c) || ($p==3 &amp;&amp; $c)$]</p>
+<p>[$elsif ($p==4 && $c) || ($p==3 && $c)$]</p>
 <div align="center"><center>
 <table border="2" cellpadding="3" cellspacing="6" width="500">
     <tr>
diff -urP Embperl-2.09b-CVS/eg/x/while.htm embperl/eg/x/while.htm
--- Embperl-2.09b-CVS/eg/x/while.htm	1998-07-14 16:11:26.000000000 -0400
+++ embperl/eg/x/while.htm	2003-03-09 00:35:28.000000000 -0500
@@ -8,7 +8,7 @@
 This is a example of using the while metacommand in embperl to show the environement<P>
 
 [- $i = 0; @k = keys %ENV -]
-[$ while ($i &lt; $#k) $]
+[$ while ($i < $#k) $]
 [+ $k[$i] +] = [+ $ENV{$k[$i]} +]<BR>
 [- $i++ -]
 [$ endwhile $]
@@ -17,7 +17,7 @@
 This is a example of using the while metacommand in embperl to show the loaded modules<P>
 
 [- $i = 0; @k = keys %INC -]
-[$ while ($i &lt; $#k) $]
+[$ while ($i < $#k) $]
 [+ $k[$i] +] = [+ $INC{$k[$i]} +]<BR>
 [- $i++ -]
 [$ endwhile $]
diff -urP Embperl-2.09b-CVS/test.pl embperl/test.pl
--- Embperl-2.09b-CVS/test.pl	2003-03-03 13:38:46.000000000 -0500
+++ embperl/test.pl	2003-03-09 00:35:03.000000000 -0500
@@ -982,11 +982,11 @@
         'version'    => 2,
         'query_info' => 'datum=23.12.2002&stunden=x',
         },
-    'subreq.htm' => { 
-        'version'    => 2,
-        'modperl'    => 1,
-        'condition'  => '$MP2',
-        },
+#    'subreq.htm' => { 
+#        'version'    => 2,
+#        'modperl'    => 1,
+#        'condition'  => '$MP2',
+#        },
 ) ;
 
 for ($i = 0 ; $i < @testdata; $i += 2)
@@ -1574,6 +1574,7 @@
 	if (!($_ =~ /^\s*$/) &&
 	    !($_ =~ /\-e /) &&
 	    !($_ =~ /Warning/) &&
+	    !($_ =~ /Attempt/) &&
 	    !($_ =~ /mod_ssl\:/) &&
 	    !($_ =~ /SES\:/) &&
 	    !($_ =~ /gcache started/) &&
@@ -2820,7 +2821,7 @@
 
     {
     local $^W = 0 ;
-    if (defined ($line = <ERR>) && !defined ($opt_ab))
+    if (defined ($line = <ERR>) && !defined ($opt_ab) && !($line =~ /Attempt/))
 	    {
 	    print "\nFound unexpected output in httpd errorlog:\n" ;
 	    print $line ;