Thread Logische Operatoren (9 answers)
Opened by Gast at 2008-04-08 19:10

betterworld
 2008-04-08 19:13
#108093 #108093
User since
2003-08-21
2614 Artikel
ModeratorIn

user image
Was genau denkst Du, das grep macht?

So kannst Du pruefen, ob FOO in $_ vorkommt:
Code: (dl )
if (/FOO/) { ... }


So fuer eine andere Variable:
Code: (dl )
if( $var =~ /FOO/ ) { ... }

View full thread Logische Operatoren