Re: for ... else

2007-03-04 Thread Rick Delaney
On Mar 04 2007, Smylers wrote: for @invoice { .process; } or fail 'No invoices to process'; If that actually works then I'm happy. -- Rick Delaney [EMAIL PROTECTED]

Re: for ... else

2007-03-02 Thread Rick Delaney
%]/span [% ELSE %] spanSearch returned no records./span [% END %] -- Rick Delaney [EMAIL PROTECTED]

Re: Outlaw to declare a lexical twice in the same scope

2006-09-11 Thread Rick Delaney
be able to get the behaviour you want, too. -- Rick Delaney [EMAIL PROTECTED]

Re: WTF? - Re: method calls on $self

2005-07-14 Thread Rick Delaney
the given block then I think it would be clearer if they spelled out that intention with something like given $y { use dot '$?SELF'; # or just 'use dot' with suitable default when 1 { .abc } # calls $?SELF.abc } -- Rick Delaney [EMAIL PROTECTED]

Re: split /(..)*/, 1234567890

2005-05-12 Thread Rick Delaney
::Result or somesuch? It would just look like an ::Array::Const if you treat it as such. -- Rick Delaney [EMAIL PROTECTED]

Re: Scoping of $/

2005-05-10 Thread Rick Delaney
;# Outputs d } bar(); # Correct (I hope so)? Yeah, they're lexical, just like in Perl 5. Not just like Perl 5, I hope. If it was then the above would print d. -- Rick Delaney [EMAIL PROTECTED]

Exegesis 7: Why so many field specifiers?

2004-03-01 Thread Rick Delaney
wondering why the first table above would be easier to learn/remember than the second. -- Rick Delaney [EMAIL PROTECTED]

E6 (sort of): All levels of complex data structs marked ro?

2003-08-02 Thread Rick Delaney
]; return $val unless $val.can(STORE); my $x is very_read_only := $val; return $x; } And how the trait connects to the FETCH-replacing I don't even know where to begin. -- Rick Delaney [EMAIL PROTECTED]

Re: Arrays: Default Values

2003-01-29 Thread Rick Delaney
. There are surely many examples to be found in SQL books. -- Rick Delaney [EMAIL PROTECTED]

Re: Arrays: Default Values

2003-01-29 Thread Rick Delaney
undef to set the default (i.e. treat undef the same as uninitialized) then they would set both properties to the same value. my int @a is default(1) is undef_to(1); -- Rick Delaney [EMAIL PROTECTED]