in reply to grep and arrays

Something like this:

my @array = qw(apple pear banana orange grape); if ( my @matches = grep /n/, @array ) { print "@matches\n"; } else { print "NOTHING FOUND\n"; }


Smoothie, smoothie, hundre prosent naturlig!