MyDBI as DBI;
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
. What is the ASCII equivalent?
4. Why not ^, which is available?
5. Why is the sigil needed? Pairs do well without, too.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Juerd skribis 2005-10-20 17:03 (+0200):
3. What is the ASCII equivalent?
Suggestion: 1c
'c' is an invalid character in numbers, and currently only numbers can
begin with a digit.
1cFoo
The 1 provides an extra visual hint of the cheapness of the class.
Juerd
--
http://convolution.nl
Juerd skribis 2005-10-20 17:03 (+0200):
4. Why not ^, which is available?
Or the euro symbol, which also has a C in it. It doesn't always have to
be American ;) It's in iso-8859-15, which is compatible enough with
iso-8859-1 to support ¥ and both « and ». (I hope those turn out as Y,
and 's
^KCt in vim, btw)
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Larry Wall skribis 2005-10-20 8:46 (-0700):
On Thu, Oct 20, 2005 at 05:35:10PM +0200, Juerd wrote:
: I'm sure ¢ will have its equivalent too.
c| or C| maybe.
But
sub c { ... }
sub d { ... }
if $foo eq c|d { ... }
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http
Schneelocke skribis 2005-10-20 18:00 (+0200):
Would c! be an option?
In current Perl 6: Yes, because infix ! does not exist.
But several people want ! to be a chainy none() constructor, and this
would destroy a dream.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl
ideas don't work in very specific circumstances, feel free.
I've already suggested two. Is that not enough?
(a) ^
(b) 1c
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
$calar and @rray, and now some people will use
¢lass in examples.
Please let that the sigil looks like a certain leter not be a reason.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
different things according to how/where it's used.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Steve Peters skribis 2005-10-21 6:07 (-0500):
Older versions of Eclipse are not able to enter these characters. That's
where the copy and paste comes in.
That's where upgrades come in.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http
is released.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
idea.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
/foo/bar/; # bar foo foo
++; # bar foo fop
x= 2;# bar foo fopbar foo fop
~= !; # bar foo fopbar foo fop!
}
Especially bare ++ would be useful, I think.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
Joshua Gatcomb skribis 2005-10-25 8:30 (-0400):
IIRC, Andy has taken up the Perl6 PR hat. I think Juerd should like be
working with Andy on this one. The rebuttals to these fears needs to be well
thought out and convincing because from my personal experience they are
prevalent.
I'll work
legability or
maintainability. I also think that the code is immediately obvious, even
to people coming from Perl 5, who never read this thread.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
95% of cases, my hypothetical var would cover I
guess a remaining 4.5% of cases, and who cares for the rest? E.g.:
for @vert {
put_point $_, $__ for @horiz;
}
I find $__ confusing, and prefer $OUTER::_, which already exists.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http
}_ }
];
}
And then you can use $_1 .. $_9. I think $_1 is much clearer than $__,
but I think neither is needed in the standard language.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
for is a small thing to implement...
Things that can wait are usually very non-trivial, and have little
impact on the rest of the language.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
declarations contain lots of things that look like juxtaposed
terms.
Is this the same conflict that occurs in %foo % %bar?
(I cannot imagine needing a one() junction for types, by the way. If
someone can come up with a good real-life example, please do so.)
Juerd
--
http://convolution.nl
Jan Dubois skribis 2005-10-25 12:33 (-0700):
Just something to keep in mind in case you are tempted to use the Won
sign as a sigil or operator in the future.
I don't know what stitch() will do, but this will have to be its infix
operator :)
zip ¥ Y
stitch Won w
Juerd
-?
# The mandatory/optional thing could even be postfix, which results in
# clearer code than the stacked +:$:
#
# sub foo ($this!, $is!, :$mandatory!, $optional?, $really?)
I do like the s/+/:/ change, though!
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl
heavily associated with invocants
anyway.
Hmmm...
method .doit (...) { ... }
method $foo.doit () { ... }
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
just really wouldn't like : to have two very differentmeanings in very
similar places.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
.
class A {
has $.b handles { 'show' = 'say' };
eval sub $?CLASS is export { $?CLASS.new(\$?ARGS) };
}
Not sure about the existence of $?ARGS, or how else to write it. Well,
@_, but the signature might be different.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http
have felt the need to use both :)
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Sam Vilain skribis 2005-11-03 11:01 (+1300):
Does ++; mean postfix:++ or prefix:++ ?
I no longer think $_ defaulting for mutating ops is a good idea, but to
answer your question, read the original post: all these would imply the
LHS, so that makes ++ postfix.
Juerd
--
http://convolution.nl
design, say only 1k% more complex be enough?
I love the OO system, and although it adds to complexity, I believe the
functionality gained is much greater. However, I do not see why we need
to add three ugly operators for features that I suspect almost nobody
will use: .?, .* and .+
Juerd
--
http
The Perl 6 Summarizer skribis 2005-11-04 14:34 (+):
$_ defaulting for mutating ops
Probably I have not been clear enough about that I no longer think this
is a good idea.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http
understand most of it!
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
, but I like it.
I've updated the PM node :)
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
:
%bins.clear;
%bins.pairs = ...;
Although I think the current situation with simple assignment is still
much better:
%bins = ...;
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
something like that be possible? Wanted? Not too costly?
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Ruud H.G. van Tol skribis 2005-11-20 1:19 (+0100):
Maybe
\x{123a 123b 123c}
is a nice alternative of
\x{123a} \x{123b} \x{123c}.
Hmm, very cute and friendly! Can we keep it, please? Please?
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl
@bar Y @baz
(What is Perl's pair terminology, by the way?)
A Pair has a key and a value. To retrieve the key, use the .key method,
to retrieve the value, use the .value method, to retrieve a list of
both, use the .kv method.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http
- [ $foo, $bar ] { ... }
as much.
(Or does for no longer automatically take as much elements from the
input array as needed?
I like the arity-sensitivity solution better, I think.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http
Larry Wall skribis 2005-11-21 12:08 (-0800):
Unfortunately, though,
identchar - digit
would be ambiguous, and/or wrong.
Well, we could of course change - to mean -1 or fewer, as + means
+1 or more... :D
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl
, but [EMAIL PROTECTED] doesn't return an
index.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Larry Wall skribis 2005-11-23 9:19 (-0800):
^5.each { say }
Without colon?
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
, and
would also allow GREAT things like
my $revfoo := reverse $foo;
$revfoo ~~ s/foo/bar/g;
I wonder if it's doable, though...
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
.
That almost all arrays range from 0..i is no reason to write bad code.
Maybe someone doing
for ([EMAIL PROTECTED])-$i { say @foo[$i] }
That should be ^(@foo.last + 1), or not using ^ at all. I'd prefer the
latter.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl
, but with @, it cannot be copied, because that flattens in
list context, which is provided by assignment to another @-thing.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
PROTECTED] If you need the last index, plus one, you shouldn't
use the number of elements, and if you need the number of elements,
minus one, you shouldn't use the last index. Am I the only one who cares
about this distinction?
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http
Juerd skribis 2005-11-24 0:39 (+0100):
Personally, I think even ^.., ^..^ and ..^ are too much, but that I can
live with.
For the record, I don't want to die if ^ is introduced. If it's there,
I'll use it. If using [EMAIL PROTECTED] becomes accepted style, I'll use it.
The live with isn't
abbreviation, isn't it? (Think for (i = 0; ...;
...))
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
] returning a list of indexes, if that
is
the definition. I do object to [EMAIL PROTECTED] meaning [EMAIL PROTECTED],
which happens
to return a list of indexes for most arrays.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl
Rob Kinyon skribis 2005-11-24 0:44 (-0500):
What about @array.indices instead?
Oops, I said indexes in a former message. Maybe a good candidate for
an alias?
Then, there's no possible fenceposting, your code is self-documenting,
and we're not introducing another unary operator?
++
Juerd
$x\n; print @y\n
The @ sigil does not create list context.
In general, every $foo[$bar] from Perl 5 can be written as @foo[$bar] in
Perl 6. @foo[$bar++]++ is neither weird nor wrong. Ugly, yes, that it
is.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl
TSa skribis 2005-12-05 12:32 (+0100):
IIRC, the default is to be a read-only ref. Not even local modifications
s/ref/alias/, which you can see as an implicit or automatic reference,
but which we usually don't call that.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl
Brad Bowman skribis 2005-12-09 20:14 (+0100):
$str ~~ my m/ mv @files:=ident+ $dir:=ident /
Nah, that's ugly.
It's mostly ugly because you're not used to it, I think.
my m[mv @files:=ident+ $dir:=ident] ~~ $str;
Looks nicer, though.
Juerd
--
http://convolution.nl
to {}
being a hash?
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
, that for a referenced hash defaults to the
opposite of what it defaults to for a literal anonymous hash.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
probably be done with
any($range.min, $range.max) == $boundary.
I'd assume $foo $range to compare $foo to the number of elements in
the range, OR $foo $range to mean $foo $range.min, and $foo $range
to mean $foo $range.max, and would be surprised if they meant anything
else.
Juerd
--
http
= 'b';
Depending much on the semantic value of .foo, I'd want only $bar.fooa
or both $bar.fooa and $quux.fooa to be set to 'b'.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Nicholas Clark skribis 2005-12-23 17:18 (+):
Why not call the shallow copy .copy, and the deep copy .clone?
Because using (almost-)synonyms for different things leads to infinite
confusion.
List/Array is a good example.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http
, and the aliasing itself had nothing to do with the
substitution.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Ingo Blechschmidt skribis 2006-01-05 18:32 (+0100):
Juerd wrote:
Ingo Blechschmidt skribis 2005-12-25 17:37 (+0100):
I disagree about binding only being a language thing:
I fail to see how your example code illustrates your disagreement.
return 42
if (my $short
... and ...$foo? MMD, longest-match, ugly hacks,
there's a bag full of tricks that could be used, so I gathered there
must be a philosophical reason not to have this. I just can't think of
any that would weigh more than having ...$foo around.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http
Jonathan Lang skribis 2006-01-18 7:26 (-0800):
Mark Reed wrote:
Perl6 .split(/whatever/) is equivalent to split(/whatever/,) in Perl5.
I'm hoping that the perl 5 syntax will still be valid in perl 6.
Don't worry, it is.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http
.
Classes, like OO syntax, are not necessary for OO.
You can write code that behaves like you're in OO-land and that talks
with an OO accent (so long as you don't look behind the curtain), but
it's not OO.
Your definition of OO is far too specific for a 2-letter acronym.
Juerd
--
http
-use code more easily.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
is blessed is not a literal hash, but an instance of ^Hash.
The mistake here is that Foo doesn't does Hash, I think.
Sure, in Perl 5, you could have different kinds of references as
instances of the same class. But I don't recall ever having encountered
that.
Juerd
--
http://convolution.nl
wrong for Perl6.
I think it's needed to be able to convert Perl 5 code
semi-automatically.
But you have probably thought about this more than I, so I'll ask you:
what's the alternative?
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http
Juerd skribis 2006-01-19 22:18 (+0100):
Could you live with @foo being an array, and @foo in scalar context
returning a reference to that array? And with arrays being interfaces to
underlying Arrays, which are objects, which makes arrays non-objects
that can be used *as* objects?
This turns
of the same class. But I don't recall ever having
encountered
that.
bless([] = 'Foo');
bless({} = 'Foo');
bless(\*Foo = 'Foo');
bless(\(my $var) = 'Foo');
Okay, now I did encounter it...
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http
to
reflect this.
I was more thinking along the lines of NOT everything is an object,
but some things are.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
, noting the accesses into
the Perl5 reference that you used and calling those attributes.
3) It then creates your BUILD() method, putting all the non-bless
components of your new() into it.
Doesn't solve the problems as mentioned in this thread, like overlapping
methods.
Juerd
--
http
it that)
did not. The two are wildly incompatible, but we do want both. Well,
perhaps you do not, but many of us here do.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
a').
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
loud in our perl poetr^H^H^H^H^Hmusic. :-)
We need pp and ppp for balance.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
someone will suggest the ff ligature.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
in there
for me, or anyone except Cafepress. (I did add $ 0.01 because I think
.99 values are incredibly silly.) Please donate to TPF separately :)
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
has $.a;
has @.a;
To result in both $.a and @.a, but only one method .a, which is an
accessor for @.a
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Luke Palmer skribis 2006-02-13 9:46 (+):
class Baz {
does Foo;
does Bar; # does this count as double declaration?
}
I'd put composition and inheritance in a slightly different category
than accessor *generators*.
Juerd
--
http://convolution.nl
you
intended the module to be used, it doesn't cover all the bases. See
DBIx::XHTML_Table and Apache::Session, that have nothing to do with DBI
and Apache, respectively.
More and more, I like cute names that don't really describe the module.
We have abstracts for the latter.
Juerd
--
http
it breaks almost everyone's syntax style, not
just that of a few.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
predictible.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
lines]
I wish I had time to read it all.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
:
$hex_wep_key ~~ /^ hexdigit**{10|26} $/
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
16:50 audreyt Juerd: write to p6l and explain the .. conflict,
The current long dot consists of a dot, then whitespace, and then
another dot. The whitespace is mandatory, which makes the construct at
least three characters long. Tripling the length of an operator, just to
make it alignable
)
To: [EMAIL PROTECTED]
Subject: Re: A shorter long dot
Testing with sbc30k
[EMAIL PROTECTED] wrote:
16:50 audreyt Juerd: write to p6l and explain the .. conflict,
The current long dot consists of a dot, then whitespace, and then
another dot. The whitespace is mandatory, which makes the construct
something that's common in
a certain programming language, that programming language was badly
designed. Let's not let Perl 6 be such a language.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
think healthy
discussion can lead to a much better solution than the current long dot.
People who think it wastes their time, by now know what this thread is
about, and can choose to ignore it.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http
.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Yuval Kogman skribis 2006-04-30 2:58 (+0300):
We need to be careful not to require the language to solve problems that
are better solved with tools.
On that point I agree, but I think it was a question of
aesthetics... Juerd?
Yes, it was about both aesthetics and the extra work
for my needs. Not sure if people are willing to give up
their underscore-only method names, though.
Perhaps whitespace can be allowed in numbers too:
5 000 000;
5_000_000;
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl
.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Gaal Yahas skribis 2006-04-30 16:05 (+0300):
But it doesn't work across lines:
$and_a_long_one_I_still_want_to_align.
:foo()
Explain to me why it wouldn't work, please. I don't get it.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl
Markus Laire skribis 2006-05-04 14:55 (+0300):
When reading Synopses, I sometimes notice some mistakes or typos,
which I'd like to submit a patch for, but it's not easy to do so as I
don't know where to get the source.
Have you tried s/html/pod/? :)
Juerd
--
http://convolution.nl
on the outside, this will do Perl 6 much
good.
I've been meaning to do this myself, but I'm past the point where I give
up waiting for sufficient sufficiently round tuits.
Of course, feather can host it :)
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl
Dr.Ruud skribis 2006-05-05 15:25 (+0200):
s/pattern/{ eval doit() }/
s/eval/try/ ?
No, string eval stays eval. Only block eval is renamed to try.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
scans in Perl 6.
To make sure I understand what you mean, not as a proposed
implementation:
my @input = (...);
my @scan = map { [op] @input[0..$_] } [EMAIL PROTECTED];
Is this what you mean?
Hm, could that be written as:
my @scan = [op] @input[ 0 .. ([EMAIL PROTECTED]) ]
Juerd
Gaal Yahas skribis 2006-05-08 17:58 (+0300):
(Is there special sugar to make @input be the last index when used in a
range, or did you mean ..^ ?)
I meant @input.last, or probably @input.indices (or .keys?) instead of
the entire range, and @input.first instead of the first 0.
Juerd
--
http
named methods and rules may be a wise idea
(I'm not sure they are), the anonymous forms are probably very useful to
have around.
my $method = method { ... };
$object.$method(...);
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http
is possible, but there will
be people who will interpret that meta-info.
Besides that, the page is kind of slow... But that could be temporary.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Please, for proper threading, don't reply to multiple messages at once.
Conrad Schneiker skribis 2006-05-25 1:46 (-0700):
Juerd wrote:
Feather, the semi-public, semi-private, Perl 6 development server, is
available to host a Perl 6 wiki.
The hostname www.perl6.nl is deliberately kept
serializing to a serial format, like disk. Locked is
the best name I can think of, and it frankly isn't that good -- it's so
vauge as to be able to mean almost anything.
is exclusive
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http
I haven't actually read your message, just the Subject, because I was
just going to bed.
Be sure to check out http://pugs.kwiki.org/?Perl6Nomenclature
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
:
On 8/6/06, Yuval Kogman [EMAIL PROTECTED] wrote:
Please do not answer above the quote.
Regards,
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
501 - 600 of 653 matches
Mail list logo