richter     01/05/10 23:55:44

  Modified:    .        Embperl.xs INSTALL.pod
               test/html plain.htm
  Log:
  cleanup
  
  Revision  Changes    Path
  1.43      +2 -1      embperl/Embperl.xs
  
  Index: Embperl.xs
  ===================================================================
  RCS file: /home/cvs/embperl/Embperl.xs,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- Embperl.xs        2001/05/10 19:08:07     1.42
  +++ Embperl.xs        2001/05/11 06:55:40     1.43
  @@ -251,7 +251,8 @@
       if (!r->bEP1Compat)
        {
        char * p = SvPV (sText, l) ;
  -        Node_appendChild (DomTree_self (r -> xCurrDomTree), ntypCDATA, 0, p, l, r 
-> xCurrNode, 0, 0) ;
  +        /* Node_appendChild (DomTree_self (r -> xCurrDomTree), ntypCDATA, 0, p, l, 
r -> xCurrNode, 0, 0) ; */
  +        r -> xCurrNode = Node_insertAfter_CDATA (p, l, (r -> nCurrEscMode & 3)== 
3?1 + (r -> nCurrEscMode & 4):r -> nCurrEscMode, DomTree_self (r -> xCurrDomTree), r 
-> xCurrNode) ; 
           }
       else
   #endif
  
  
  
  1.19      +46 -10    embperl/INSTALL.pod
  
  Index: INSTALL.pod
  ===================================================================
  RCS file: /home/cvs/embperl/INSTALL.pod,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- INSTALL.pod       2001/05/10 19:08:09     1.18
  +++ INSTALL.pod       2001/05/11 06:55:40     1.19
  @@ -104,17 +104,8 @@
   a DSO mod-perl (ie: apache + libapache-mod-perl) for now.
   
   
  -=head2 WIN 32
  +=head2 WIN 32 (non ActiveState Perl)
   
  -I have tested the offline mode on Windows 95 with a Microsoft Visual C++ 4.2
  -compiler and I have succesfully run Embperl with apache_1.3b5-1.3.9 / 
  -mod_perl-1.12-1.21 / perl5.004_04-perl5.005 (without threads) on Windows NT
  -with VC++ 5.0. 
  -
  -B<NOTE:> It was necessary for me to compile perl5.004_04 with the VC++ on my own
  -to get it to run with Apache and mod_perl, while I was able to use the binary
  -distribution (/authors/id/GSAR/perl5.00402-bindist04-bc.tar.gz) of Perl for
  -offline testing under Win 95.
   
   B<NOTE:> You need mod_perl >= 1.12 on win32
   
  @@ -179,6 +170,51 @@
   If you have already successfully build and tested C<mod_perl> all modules
   will already be there.
   
  +
  +=head2 WIN 32 with ActiveState Perl
  +
  +First get and install ActiveState Perl from http://www.activestate.com
  +
  +You can skip the installation of Apache and mod_perl, if you only want
  +to use Embperl offline or as CGI.
  +
  +Next get the Apache binary (including the source e.g. 
apache_1.3.19-win32-src-r2.msi) from        
  +http://www.apache.org/dist/httpd/binaries/win32/ . (You may need to install the
  +windows MSI installer from the same page too). Now run the installation.
  +
  +Then run the ppm program to install mod_perl
  +
  +  ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl-1.25_1.3.19.ppd
  +
  +If you get asked for the Apache directory, enter the C<modules> subdirectory under 
the path
  +where you have installed your Apache, e.g. 
  +
  +  \Program Files\Apache Group\Apache\modules
  +
  +As last step you can install the Embperl ppd:
  +
  +  ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/HTML-Embperl.ppd
  +
  +
  +=head2 Compile Embperl from the sources on WIN 32 with ActiveState Perl
  +
  +First install ActiveState Perl, Apache and mod_perl as described above. Make sure
  +you have an Apache version which includes the sources. (Of course when you want to 
use
  +Embperl only offline or as CGI you don't have to install Apache and mod_perl)
  +
  +Then extract the Embperl distribution and go to the directory where you have 
extracted
  +Embperl. Start
  +
  +  perl Makefile.PL
  +
  +Enter y or hit enter when you get ask "Build with support for Apache mod_perl?(y/n) 
[y]"
  +When get asked for the Apache source enter the Apache directory you have installed 
above.
  +e.g. \Program Files\Apache Group.
  +
  +Now you can continue by running 
  +
  +  nmake test
  +  nmake install  
   
   
   =head2 How to continue
  
  
  
  1.7       +18 -1     embperl/test/html/plain.htm
  
  Index: plain.htm
  ===================================================================
  RCS file: /home/cvs/embperl/test/html/plain.htm,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- plain.htm 2001/03/27 12:27:54     1.6
  +++ plain.htm 2001/05/11 06:55:43     1.7
  @@ -57,7 +57,7 @@
   
   Embperl will also translate HMTL escapes to the right characters i.e. $a &amp;lt; 6 
will get the perl expression $a &lt; 6: <BR>
   
  -[- $e = 2 -]
  +[- $e = 2 # here is a perl comment -]
   [+ $d = $e &lt; 6 +]
   
   Now they should have a value
  @@ -69,6 +69,23 @@
   $e = [+ $e +] <BR>
   
   Input Separator = [+ ord($/) +]<br>
  +
  +[-=pod
  +
  +blabla
  +
  +=cut-]
  +
  +[-
  +=pod
  +
  +blabla
  +
  +=cut
  +-]
  +
  +
  +
   
   <P>Ok.<P>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to