use strict; use warnings; print <<'_PHP1_'; <?php $client_aero = 'Aeropostale'; $aero_total = '72'; $aero_average = '70'; ?> _PHP1_ # Alternative using double quotes # Use this if you want to send perl variables to PHP my ($perl_client, $perl_total, $perl_avg) = ('Aeropostale',72,70); print <<"_PHP2_"; <?php \$client_aero = '$perl_client'; \$aero_total = '$perl_total'; \$aero_average = '$perl_avg'; ?> _PHP2_ exit 0;
Is a computer language with goto's totally Wirth-less?
In reply to Re: printing "$" to php file
by NetWallah
in thread printing "$" to php file
by flieckster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |