Hi there!
i'm seeking for help on something which should b easy, but has 
turned into my personal hell.
i'm trying to compare character (but i guess it applies the same to 
strings) for my database entry markers, but i simpled the problem 
out to this:

#Here starts my nightmare

print"\nCharacter?:";
$character= <STDIN>;

if($character eq ':') #Here is the root of my 
nightmare
{       print "\n\nEureka! $character equals ':'\n";
}

else{ print "\nThis script sucks ass!!";}

+-+-+-+-End of code+-+-+-+-+


i'm pretty certain this has something to do with 
string terminators (like '\0' in C).
well, i hope u can help me.
Eternally grateful,

Samuel 'Ironsam' Molina

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to