#!/usr/bin/perl use strict; $ENV{DOCUMENT_ROOT}.='/' if $ENV{DOCUMENT_ROOT}; my $html; require $ENV{DOCUMENT_ROOT}.'_adm/incs/clQueEsCCEBA.pm'; require $ENV{DOCUMENT_ROOT}.'_adm/incs/Generales.pm'; my $ref=Generales::Entrada(); open (ARCHI, $ENV{DOCUMENT_ROOT}.'institucional/tpl/institucional.htm')||print $!."- institucional.pl
\n"; while (my $linea = ){ $html .= $linea; } close ARCHI; $html =Generales::sacaLineas($html); ############################################################################################# my $oTxt=clQueEsCCEBA->new(); $oTxt->buscar(); $html=~s//$oTxt->{cTitulo}/gi; $html=~s//$oTxt->{cCopete}/gi; $html=~s//$oTxt->{cCuerpo}/gi; $html=~s//$oTxt->{urlFoto}/gi; $html=~s//$oTxt->{epigrafeFoto}/gi; ########################## IMPRIMISION ############################################ $html =Generales::procesarDinamico($html); $html =Generales::poneLineas($html); Generales::imprimir($html); #############################################################################################