Thread Fehlerabfangen bei $varable ist undef
(14 answers)
Opened by kabazza at 2007-01-12 13:35
[quote=kabazza,12.01.2007, 12:35]if ($string ist leer){$string = $anderer_string;}
probleme hab ich bei "ist leer". wie ist da die richtige syntax?[/quote] Nun, $string ist nicht wirklich leer und auf jeden Fall defined, wenn du über <STDIN> einliest, deshalb würde sich anbieten. Oder wie pq schon schrieb, mit //=.\n\n <!--EDIT|opi|1168943703--> What is a good module? That's hard to say.
What is good code? That's also hard to say. One man's Thing of Beauty is another's man's Evil Hack. |