Mega Code Archive

 
Categories / Perl / Array
 

Create lists of text variables

#!/usr/bin/perl  print "Content-Type: text/html \n\n";  # This script demonstrates how to create a text array.  @AcmeCars = ("Ford","Dodge","Chevy");  print "@AcmeCars";  print "<p>We have just created a text  array!</p>";