On Tue, 8 Jan 2013 11:29:47 -0600 "Patrick R. Michaud"
wrote:
PRM> On Tue, Jan 08, 2013 at 12:14:22PM -0500, Ted Zlatanov wrote:
>>
>> Since I'm writing a module, I didn't think a one-liner was sufficient
>> proof that state variables are rel
On Mon, 7 Jan 2013 17:51:52 +0100 Carl Mäsak wrote:
CM> Ted (>):
>> Are state variables available now, or is the every(N) functionality
>> possible in some other way now?
CM> Why not try it by writing a small program? :)
CM> Rakudo is available at a discount right now -- download it before it'
On Fri, 30 Jul 2010 12:56:37 -0500 Ted Zlatanov wrote:
TZ> On Fri, 30 Jul 2010 12:19:16 -0500 "Patrick R. Michaud"
wrote:
PRM> I suspect something like CALLER::<$?FILE> and CALLER::<$?LINE> might
PRM> eventually do what you want -- they would at least get t
On Fri, 30 Jul 2010 12:19:16 -0500 "Patrick R. Michaud"
wrote:
PRM> On Fri, Jul 30, 2010 at 09:17:30AM -0500, Ted Zlatanov wrote:
>> I have a Perl 5 module called Every which provides, simply,
>>
>> every(5); # true on invocation 5, 10, etc.
>> ever
I have a Perl 5 module called Every which provides, simply,
every(5); # true on invocation 5, 10, etc.
every(seconds => 5); # true at 5, 10, etc. seconds
It's really nice in endless loops, logging, etc. I'd like to translate
it to Perl 6 (using Rakudo specifically).
Its current implementation r
On Tue, 06 Jan 2009 16:48:47 +0300 Richard Hainsworth
wrote:
RH> Suppose I want a 'when' clause to fire when the test is *not*
RH> met. What syntax should be used?
Maybe the parser can be smart enough to recognize this:
given $x
{
! // {say 'this does not contain a digit'}
}
Other suggest
On Mon, 8 Jul 2002, [EMAIL PROTECTED] wrote:
> Yep. But serializing continuations is either tough, or not
> completely doable, since programs tend to have handles on things
> outside their direct control like filehandles, sockets, database
> connections, and suchlike things. Resuming a continuatio