Re: problem comparing strings

2001-11-14 Thread Chris Garringer
chomp $character; You need to get rid of the newline character at the end of every string from On Wed, 14 Nov 2001, samuel wrote: > 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 appl

Re: problem comparing strings

2001-11-14 Thread Richard S. Crawford
How about chomp($character=); ? At 11:13 AM 11/14/2001, samuel wrote: >print"\nCharacter?:"; >$character= ; Sliante, Richard S. Crawford http://www.mossroot.com mailto:[EMAIL PROTECTED] AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford "It is only with the heart that we see rightly;

Re: Problem comparing Strings with IF AND

2001-10-29 Thread Pete Sergeant
Kurt, > if ($client ne $newclient and $method ne $newmethod){ > print "something\n";#I'll actually be > printing this to my report once I get this worked out > } I think what you want is: if (($client ne $newclient)&&($method ne $newmethod)) { ... } This is c