Thread $ARGV[0] in @array überprüfen (28 answers)
Opened by Duff at 2007-10-18 18:20

nepos
 2007-10-19 10:57
#101075 #101075
User since
2005-08-17
1420 Artikel
BenutzerIn
[Homepage] [default_avatar]
So z.B.:
Code (perl): (dl )
1
2
3
if ( !grep { $ARGV[0] eq $_ } @arr ) {
     # grep hat nix gefunden...
}

View full thread $ARGV[0] in @array überprüfen