Help for this page

Select Code to Download


  1. or download this
    my @names = ( { first => 'john', last => 'brown' },
                  { first => 'jacob', last => 'black' },
    ...
    for (@names) {
        push @fullnames, $_->{first} . ' ' . $_->{last};
    }
    
  2. or download this
    print "found heimer\n" if ("heimer" ~= @firstnames);  # Perl 6 (or app
    +roximation)