Source Code to HTML Generator


PerlToHtml

Paste the Perl code below to generate the corresponding HTML   Copy the text from the following textarea and paste where you want to display the generated HTML
Div Wrapper
Pre Wrapper

PerlToHtml Output

#!/usr/bin/perl
print "content-type: text/html \n\n";
# Script explains addition operator
$numberA = 4; #Variable numberA with assigned value as 4
$numberB = 4; #Variable numberB with assigned value as 4
$addition = $numberA + $numberB;
#OR
$addition = 4 + 4;
print "$addition\n";
exit#script will exit now