Help for this page

Select Code to Download


  1. or download this
    print "$_ \n" foreach (17, $var, "a string");
    
  2. or download this
    my @array = (17, $var, "a string");
    # now you can access the element of the original list by using the arr
    +ay, e.g.: 
    my $first_num = $array[0];