in reply to PERL on web pages

You can use Perl scripts only on server side. If you need embedded Perl into html pages you can use EmbPerl, Mason or simply CGI.
      
--------------------------------
SV* sv_bless(SV* sv, HV* stash);