Help for this page

Select Code to Download


  1. or download this
    my @ta = ( 'a x', 'b y', 'c z' );
    my $key = 'b';
    
    printf "key=%s, value=%s\n", map split, grep { ! index $_, $key . ' ' 
    +} @ta;
    printf "key=%s, value=%s\n", $key, ${{ map split, @ta }}{$key};