Front page | perl.perl6.language |
Postings from August 2005
Re: "Disappearing" code
Thread Previous
From:
David Formosa
Date:
August 20, 2005 03:10
Subject:
Re: "Disappearing" code
On Thu, 09 Jan 2003 21:12:07 -0500, John Siracusa
<siracusa@mindspring.com> wrote:
[...]
> Hey, it adds up! Okay, maybe it doesn't...but still, Perl 6 Should Be Able
> To Do This! :) And I'd also like inline constructs like:
>
> ASSERT $foo > 5 && is_happy(blah);
macro debug ($code) is parsed (/{Perl6::Block}/) {
if ($debug) {
$code
} else {
""
}
}
--
Please excuse my spelling as I suffer from agraphia. See
http://dformosa.zeta.org.au/~dformosa/Spelling.html to find out more.
Free the Memes.
Thread Previous