in reply to a simple question...
- Millerif (my @matches = grep {$input{$_}} qw(info1 info2 info3)) { print "Matched: @matches"; } else { print "none of the conditions were met\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: a simple question...
by Anonymous Monk on Nov 28, 2007 at 17:36 UTC | |
by wind (Priest) on Nov 28, 2007 at 17:44 UTC | |
by Nkuvu (Priest) on Nov 28, 2007 at 18:07 UTC | |
by wind (Priest) on Nov 28, 2007 at 18:18 UTC | |
by tye (Sage) on Nov 28, 2007 at 17:43 UTC |