#!/usr/bin/perl -w use strict; my @arr = qw( file1 file2 file3 filename ); print "ha!\n" unless grep /^filename$/, @arr;
In reply to Re: Pattern Match in @array
by marcink
in thread Pattern Match in @array
by azatoth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |