Mega Code Archive

 
Categories / Perl / Array
 

Mix data type in an array

#!/usr/bin/perl -w use strict; my $test = 30; print      "Here is a list containing strings, (this one) ",      "numbers (",     3.6,      ") and variables: ",      $test,      "\n"     ;