That's simple:
Use 'eq' instead of '=='!
Stephan
--
Dipl.-Chem. Stephan Tinnemeyer
Lindenallee 20
24105 Kiel
Germany
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
"==" is a numeric operator ...
Try "eq"
Hope this helps ...
-Original Message-
From: Wagner [mailto:[EMAIL PROTECTED]]
Sent: September 20, 2001 10:18
To: [EMAIL PROTECTED]
Subject: aanother simple question
Hi,
I have another simple question:
In my script i have a
Use 'eq' for string comparisons and '==' for numerical --
- Dwalu
.peace
--
I am an important person in this world -
Now is the most important time in my life -
My mistakes are my best teachers -
So I will be fearless.
- Student Cree
Hi,
I have another simple question:
In my script i have a variable $host that is a string... I'm trying to do a
conditional like this:
if ($host == 'access_1') {
$host1 = 'ACESSO 1' ;}
elsif ($host == 'access_2') {
$host1 = 'ACESSO 2' ;}
The problem is that $host1 aways get the first valur