in reply to Embed perl in html.

Most of those don't work standalone. Try Template Toolkit instead. Standalone, and works with mod_perl if you wanna make that jump later.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Embed perl in html.
by lindex (Friar) on Aug 26, 2000 at 11:02 UTC
    Update:

    Well it seems after a lil tinkering I found something that seems to work here it is:

    #!/usr/bin/perl -w use strict; use HTML::Embperl; my($code) = <<EOC; this is some code [- \$poop = "foo" -] [+\$poop+] EOC print $code,"\n"; HTML::Embperl::Execute( { input=>\$code, mtime=>1, req_rc=>undef() } );




    lindex
    /****************************/ jason@gost.net, wh@ckz.org http://jason.gost.net /*****************************/