#!C:\Perl\bin\perl #-Revision-------------------------------- | ########################################## # Assign some values to a scalar variables $var = "String"; $int = 100; $flt = 1.5; ######################################### # Assign some more values to scalar variables $word = "Im enjoying"; $word1 = " working "; $word2 = "with "; $word3 = "PERL!"; ########################################## # Assign some variables to an array @arr = ("String1", 100, 5.4, "String2", 3.14); ########################################## # Assign some values to a hash variable %hash = ("Car", "Ford", "Number", 100, "Game", "Farcry"); ########################################## # Output a here document displaying these variables print << "DOC"; Content-type:text/html\n\n
Here is my concatenated sentance!: $word4
DOC2