[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Please don't Laugh at me...



I am relatively new to MacPerl and I would like to know what is wrong
with my code.

print ('Please type something: ');
$input = <STDIN>;
if ($input = PAULINE){
print ("Hola amigo\n")
}else{
print("I don't know you\n")
}

I want it to print out hola amigo if the STDIN is Pauline.  If not I want
it to print out I don't know you.  Sorry to bother you guys...

Jorge 


===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org