'=' 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! -> ->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... -> ->if ($guitype = 'admin') ->{ -> $graphdir = "/home/nac/web/admin/intgraph/"; ->} ->if ($guitype = 'user') ->{ -> $graphdir = "/home/nac/web/user/intgraph/"; ->} -> ->...into 2 seperate if-statements it's working.... -> -> ->I thought I should ask if I'm doing something wrong but I ->think it's ok. -> ->THX Alex -> -> -> ->--------------------------------------------------------------------- ->To unsubscribe, e-mail: [EMAIL PROTECTED] ->For additional commands, e-mail: [EMAIL PROTECTED] -> Interactive Investor Trading Limited trading as "Ample" is an independent intermediary regulated by the Financial Services Authority. Registered in England with registered office at 142 Holborn, London EC1N 2NQ and Company Registration Number 3699618. A member of the AMP Group. We may record and/or monitor telephone calls or intercept other telecommunications between us. This is to protect both of us and for training purposes. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee and access to this email by anyone else is unauthorised. If this email has come to you in error you must not read or forward the email to anyone, please reply to this email and highlight the error. Although this message and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by Interactive Investor Trading Limited for any loss or damage in any way arising from its use. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
