Re: if-elsif problem

2002-06-07 Thread Alexander Hartmaier
Ups!!! =) Sorry Guys! Such errors shouldn't happen any more! THX Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: if-elsif problem

2002-06-07 Thread Vladimir Ivaschenko
Fri, Jun 07, 2002 at 11:04:13AM +0200 Alexander Hartmaier wrote about if-elsif problem > > > Hi! > > I just discovered a strange behavior of embperl 2.0b7 "=" is an assignment operator. You should "eq" to compare string values, and "==" to co

RE: if-elsif problem

2002-06-07 Thread Oliver Harvey
'=' sign ! try 'eq' or something... ->-Original Message- ->From: Alexander Hartmaier [mailto:[EMAIL PROTECTED]] ->Sent: Friday, June 07, 2002 10:04 AM ->To: [EMAIL PROTECTED] ->Subject: if-elsif problem -> -> -> -> ->Hi! -> -&

if-elsif problem

2002-06-07 Thread Alexander Hartmaier
Hi! I just discovered a strange behavior of embperl 2.0b7 I've got following piece of code... if ($guitype = 'admin') { $graphdir = "/home/nac/web/admin/intgraph/"; } elsif ($guitype = 'user') { $graphdir = "/home/nac/web/user/intgraph/"; } ...which doesn't work! If I chance it...