On Thu, 17 Aug 2000, Jonathan Scott Duff wrote:
BTW, if we define Cwith to map keys of a hash to named place holders
in a curried expression, this might be a good thing:
with %person {
print "Howdy, ", ^firstname, " ", ^lastname;
}
# becomes
sub {
On Fri, 18 Aug 2000, Jonathan Scott Duff wrote:
On Fri, Aug 18, 2000 at 10:39:36AM -0500, Brian Wheeler wrote:
"Using" might be an interesting alternative
Reminds me of BASIC :-)
Works for me.
What if the hash keys we want to use are not valid scalar names? For example,
On Wed, 16 Aug 2000, Nathan Wiger wrote:
"Bryan C. Warnock" wrote:
... is the cause for this. All the discussion is taking place in the
master list before the sublists are spawned. You can only express the
opinion that foo is not bar and never should be so many times.
I agree. I
On Wed, 16 Aug 2000, David L. Nicol wrote:
Anyone for generalizing "select" to a more general "with" keyword
which would operate on a limited hash and be syntactic sugar for
replacing all appearances of unqualified variables that match
the hash's keys with references into it?
D'oh. s{2) .+^}{}
Mismatch between brain and fingers there somewhere, thanks for
pointing it out.
Dave
On 17 Aug 2000, Johan Vromans wrote:
Dave Storrs [EMAIL PROTECTED] writes:
2) "express" should guarantee that, before
This seems good...the HOF stuff seems to have pretty well accepted, and
the thumbtack notation with it.
Dave
On Thu, 17 Aug 2000, Clayton Scott wrote:
On Wed, 16 Aug 2000, David L. Nicol wrote:
%record = loadrecord($studentID);
with %record {
On Fri, 11 Aug 2000, David L. Nicol wrote:
I've started talking about "containers" instead of arrays and hashes
since those both tie directly to implementation details, and containers
are abstractions.
[...]
If hashes normally had a sort method of null, they would work normally,
but you
From the Perl6-language list:
On Thu, 10 Aug 2000, Bart Lateur wrote:
On Thu, 10 Aug 2000 17:21:44 +0300, Jason Elbaum wrote:
\x match lowercase alpha char
\X match uppercase alpha char
You've got my vote, apart from one tiny detail: \x is already in use.
101 - 108 of 108 matches
Mail list logo