On Tue, 06 Jan 2009 16:48:47 +0300 Richard Hainsworth rich...@rusrating.ru
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
{
! /digit/ {say 'this does not contain a
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
On Fri, 30 Jul 2010 12:56:37 -0500 Ted Zlatanov t...@lifelogs.com wrote:
TZ On Fri, 30 Jul 2010 12:19:16 -0500 Patrick R. Michaud
pmich...@pobox.com wrote:
PRM I suspect something like CALLER::$?FILE and CALLER::$?LINE might
PRM eventually do what you want -- they would at least get
On Mon, 7 Jan 2013 17:51:52 +0100 Carl Mäsak cma...@gmail.com 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
On Tue, 8 Jan 2013 11:29:47 -0600 Patrick R. Michaud pmich...@pobox.com
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 reliable. Sorry I didn't make that
clear