Thread Regülarer Ausdrück zu einem hash array
(19 answers)
Opened by Tom99 at 2008-10-04 15:42 Tom99+2008-10-04 18:46:19-- doch, es ist nur viel einfacher. man braucht kein true oder false. Code (perl): (dl
)
1 2 3 4 5 6 7 8 my $x = 1; if ($x) {} # true $x = 0; if ($x) {} # false $x = ""; if ($x) {} # false $x = <alles ausser 0 oder leerstring>; if ($x) {} # true lies mal ![]() Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: ![]() ![]() |