Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    use List::Util qw(first);
    ...
    
    [grep { $_->{"aaa"} < 4 } @x]->[0] = 'foo';
    (first { $_->{"aaa"} < 4 } @x) = 'foo';