Trina Espinoza wrote:
I would like to know how I would say if $item equals $tempitem OR
if $item is empty(the variable is a placeholder that has nothing in
it), execute command.

Usually "empty" means "undefined", and if that's what you mean, you could check like this:


    if ((not defined $item) or ($item eq $tempitem)) {
        $command->execute;
    }

--
Steve


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to