escaping php syntax within perl

From: Date: Tue, 20 Mar 2001 19:04:29 +0000
Subject: escaping php syntax within perl
Groups: php.general 
Request: Send a blank email to php-general+get-44801@lists.php.net to get a copy of this message
Hey everyone, Doesn anyone know how to escape the following line in a perl print statement? if(!isset($mainfile)) { include("mainfile.php"); } ie: sub header { print "<?php echo if(!isset($mainfile)) { include(\"mainfile.php\"); } ?>\n"; } What all needs to be escaped? Thanks! Clayton Dukes CCNA, CCDA, CCDP, CCNP Internetwork Solutions Engineer Internetwork Management Engineer --------------------------------------------------------------------- Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net

« previous php.general (#44801) next »