Re: comparable Perl "unless" in PHP?

From: Date: Thu, 02 Nov 2000 22:32:28 +0000
Subject: Re: comparable Perl "unless" in PHP?
Groups: php.general 
Request: Send a blank email to php-general+get-23470@lists.php.net to get a copy of this message
Brian I don't know Perl, but it looks to me like unless does the same as if(!expression), hence if(!$UserId==$MyUserId) { do something } is effectively saying unless($UserId==$MyUserId) { do something } Of course, I could just be missing the point because I don't really know what unless does in Perl :-) Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org

« previous php.general (#23470) next »