HI
Mir ist es schon fast peinlich diese Frage zu stellen:
Ich brauche in Perl ein if-Bedinung die Testet, ob ein String nicht leer
ist.
if($user_entry != ""){
print "$user_entry\n";
}
else{
print "leer!";
}
Das ding spuckt immer nur "leer!" aus. Egal was in $user_entry drinsteht.
Ich kenn das von PHP so.
Bin ich zu bl�d?
Sebastian
--
When a cat is dropped, it always lands on its feet, and when toast is dropped,
it always lands with the buttered side facing down. I propose to strap buttered
toast to the back of a cat. The two will hover, spinning inches above the
ground. With a giant buttered cat array, a high-speed monorail could easily
link New York with Chicago.
----------------------------------------------------------------------------
PUG - Penguin User Group Wiesbaden - http://www.pug.org