On 6/3/05, Joshua Gatcomb [EMAIL PROTECTED] wrote:
What I would like to be able to do is:
my $str = 'hello';
my @chars = $str.chars; # h e l l o
I can't see this being a problem at all. For starters, the whole what
is a character issue is just as relevant to +($foo.chars) as it is to
I have thought of an interesting idea that may allow Perl 6 to make the
$, @, and % optional on many uses of variables. This involves simply
extending the function namespace to include all kinds of structures, and
thus the function namespace does not require symbols, they are optional.
The
Further thoughts on the questions in comments invited.
njs
win32-exec.c.patch
Description: Binary data
Hi,
I'm working on a web templating system, and I'm wondering how should I use
rules?
I have these defs:
rule elem {
\ wts \: ([a..z]+) \/ \
}
rule block {
\ wts \: ([a..z]+)\(.*?)\ \/ wts \: $1 \
}
I would like to execute subroutines during the evaluation. What should I
Apologies for the wrong list. Should I resend to the correct one?
njs
localtime() and gmtime() seem fairly core to me. The array contexts are
simple, and the scalar context is an RFC valid string. Nothing too heavy
there. The time() function is typically only moderately useful without
localtime().
This is true if the time() function returns a simple scalar
Nigel Sandever [EMAIL PROTECTED] wrote:
Thanks, applied - r8263
Further thoughts on the questions in comments invited.
Yeah.
njs
leo
Millsa Erlas wrote:
I have thought of an interesting idea that may allow Perl 6 to make the
$, @, and % optional on many uses of variables. This involves simply
extending the function namespace to include all kinds of structures, and
thus the function namespace does not require symbols, they
James Mastros wrote:
Millsa Erlas wrote:
I have thought of an interesting idea that may allow Perl 6 to make the
$, @, and % optional on many uses of variables. This involves simply
extending the function namespace to include all kinds of structures, and
thus the function namespace does not
--- James Mastros [EMAIL PROTECTED] wrote:
Millsa Erlas wrote:
I have thought of an interesting idea that may allow Perl 6 to make
the
$, @, and % optional on many uses of variables. This involves
simply
extending the function namespace to include all kinds of
structures, and
thus
On 6/3/05, Millsa Erlas [EMAIL PROTECTED] wrote:
Does this allow the grammer rules of the language to be changed so that
this could be implemented? How does this work?
Yes. In fact, one of the big goals of perl 6 is to allow people to
mutate the grammar of the language.
If you just want
In Perl5, if I do:
sub foo {return 1}
sub foo {return 2}
print foo();
I get a redefinition error, and a '2' on STDOUT. Can I assume this will
be the same in Perl6? i.e. can I write a test for pugs to check this?
Moreover:
sub foo(Num $a) {return 1}
sub foo(Str $a) {return 2}
print
Austin Hastings wrote:
--- James Mastros [EMAIL PROTECTED] wrote:
Millsa Erlas wrote:
I have thought of an interesting idea that may allow Perl 6 to make
the
$, @, and % optional on many uses of variables. This involves
simply
extending the function namespace to include all kinds
Say I have:
multi sub foo(Array $a,Int $b) {...}
multi sub foo(Hash %a, Int $b) {...}
and I want to (distinctly) wrap each multisub, say for testing, or AOP,
or whatever. How do I get the two different code references? As far as i
can gather from the Apocalipses and Synopses, there should be a
With a meta model for code signatures you could generate a code
signature and then ask it to locate any matching multis.
For a more concrete handle on how this might look if I were king-
wait a while... ;-)
When I have more time to finalize docs/mmd.kwid and then describe
the meta model for
On May 26, 2005, at 10:03 AM, Piers Cawley wrote:
Stevan Little [EMAIL PROTECTED] writes:
... The way I
see it working is that the language itself has a bunch of minimal
hooks that
get triggered by various phases of compilation etc. Your editor then
becomes
something that instruments the
16 matches
Mail list logo