On Tue, 26 Jun 2001, Silvio Luis Leite Santana wrote:

> CODE 2 - DOESN'T WORK
> (should it work, I'd wish to put more
> than one command inside the curly braces)
>
> $bissexto = <STDIN>;
> chop($bissexto);
> $bissexto and { print "OK\n"; };
> print "end\n";

I think what you really want is

$bissexto && do {

        print "OK\n";
};

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
If you don't say anything, you won't be called on to repeat it.
                -- Calvin Coolidge

Reply via email to