Dan Sugalski [EMAIL PROTECTED] writes:
At 2:33 PM +0100 4/7/02, Piers Cawley wrote:
Jonathan E. Paton [EMAIL PROTECTED] writes:
but wait, there's more... what does:
@multi_dim[$a][$b][$c]
give?
Who cares? So long as the intermediate results in
@multi_dim.[$a].[$b].[$c] respond
Aaron Sherman [EMAIL PROTECTED] writes:
On Mon, 2002-04-08 at 13:01, Jonathan E. Paton wrote:
I'm I beating this point to death, or do I have to write
the RPC:
Keep the {} and [] notation for hashes and arrays
or
Save our array!
Let's boil this RFC down to one short phrase:
If
Mark J. Reed [EMAIL PROTECTED] writes:
On Mon, Apr 08, 2002 at 07:56:11PM +0100, Piers Cawley wrote:
Also, just wondering:
$_[_][EMAIL PROTECTED] _=_0_-_
does that work the way I expect it to?
Dunno, what do you expect it to do?. To my way of thinking there's
going
Jonathan E. Paton [EMAIL PROTECTED] writes:
but wait, there's more... what does:
@multi_dim[$a][$b][$c]
give?
Who cares? So long as the intermediate results in
@multi_dim.[$a].[$b].[$c] respond to [].
--
Piers
It is a truth universally acknowledged that a language in
possession of
Damian Conway [EMAIL PROTECTED] writes:
Piers asked:
So, is there any chance that we'll be able to do:
class ical {
use object_name '$self';
method ical {
given $self.ology {
... { $self.ish }
}
}
}
Of course, if you're not using explicit
Jonathan E. Paton [EMAIL PROTECTED] writes:
: Piers Cawley writes:
:
: So, here I am working on a Scheme interpreter in Perl 6, and I'm
: trying to write it in a (for want of a better description)
: 'Scheme-like' fashion with lots of recursion.
:
: The trouble is, unless Perl6 is going
Dan Sugalski [EMAIL PROTECTED] writes:
At 11:45 PM +0100 4/5/02, Piers Cawley wrote:
So, here I am working on a Scheme interpreter in Perl 6, and I'm
trying to write it in a (for want of a better description)
'Scheme-like' fashion with lots of recursion.
The trouble is, unless Perl6 is going
Larry Wall [EMAIL PROTECTED] writes:
Rafael Garcia-Suarez writes:
: Larry Wall wrote in perl.perl6.language :
:
: Such a grammar switching routine could operate either over a lexical
: scope or over the rest of the file. The only restriction is that
: one module not clobber the
Whilst I've been hacking the perl 6 scheme interpreter I've found
myself using code like the following
method get_token( $self: ) {
given $self.get_char {
when !defined { fail IOException: msg= EOF }
when /\s/ { $self.get_token }
when '(' { $the_left_paren }
Larry Wall [EMAIL PROTECTED] writes:
Dan Sugalski writes:
: Strict, but doesn't really matter. Nobody sane will use anything other
: than $^a and $^b.
:
: Well Are we allowing non-latin characters in identifiers? There
: may be potential interesting ramifications with those. Kanji
Larry Wall [EMAIL PROTECTED] writes:
Piers Cawley writes:
: Larry Wall [EMAIL PROTECTED] writes:
:
: Dan Sugalski writes:
: : Strict, but doesn't really matter. Nobody sane will use anything other
: : than $^a and $^b.
: :
: : Well Are we allowing non-latin characters
So, here I am working on a Scheme interpreter in Perl 6, and I'm
trying to write it in a (for want of a better description)
'Scheme-like' fashion with lots of recursion.
The trouble is, unless Perl6 is going to be guaranteed to do
optimization of tail calls, this is going to lead to horribly
Damian Conway [EMAIL PROTECTED] writes:
Joe Gottman wrote:
For instance, what would happen in the
following code?
sub func1() {
our $varname is private \\= 1;
return $varname;
}
sub func2() {
our $varname is private \\= 2;
Fatal error: Private variable $varname declared
Over on use.perl, someone spotted what looks like a bug in the example
program which (if it *is* a bug) is fixed by using unary '*', but
that's not what I'm writing about here.
In the discussion of the yadda yadda yadda operator, Damian says that
... in this example, Err::BadData is *never*
Damian Conway [EMAIL PROTECTED] writes:
Piers wrote:
Over on use.perl, someone spotted what looks like a bug in the example
program which (if it *is* a bug) is fixed by using unary '*', but
that's not what I'm writing about here.
I'll admit I'm not sure whether it is a bug or not. I've
So, I've been looking at the stuff in the Apocalypses and Exegeses so
far and I think I've reached the point where I can have a crack at
using perl 6 to implement another programming language. Coming
(possibly) to a mailing list near you, Perl6::Scheme...
--
Piers
It is a truth universally
Damian Conway [EMAIL PROTECTED] writes:
Good oh. BTW, (and apologies for repeating the question I asked
elsewhere) are we going to see an updated Apocalypse 4 incorporating
all the changes made to get E4 to work?
Probably not any time soon. Previous Apocalypses haven't been
updated when
Just a thought, I assume that something like the following will be legal:
given $msg {
when Message::ACK {
$msg_store.fetch( $msg.acknowledged_msg ).set_state($msg);
}
when Message::SMS {
when .is_incoming { ... }
when
Damian Conway [EMAIL PROTECTED] writes:
Eventually, of course, we'll have to go back and make eveything
copacetic, but at the moment I think most folks would rather have us
working on writing unwritten A's and E's, rather than rewriting
written ones. ;-)
Point. Maybe someone will step
Simon Cozens [EMAIL PROTECTED] writes:
Piers Cawley:
ie, overriding hash lookups, array lookups, whatever.
Ah, you want C#/Python indexers, you do. So do I.
Um... is that what you call 'em. Actually, you can already do
'use overload q|%{}|', to sort of do this...
--
Piers
Wizard [EMAIL PROTECTED] writes:
This came up on perl6-internals, and Dan liked the try suggestion and
suggested That I post it here for comments. I'm not subscribed to
p6-language, so you'll need to include me in any replies where you want a
response from me.
Damian Conway [EMAIL PROTECTED] writes:
I suppose this discussion also raises the vexed question whether ??::
can also be put out to pasture in favour of:
$val = if $x { 1 } else { 2 }
Only if you can also do:
if $x { $x } else { $y } = 'foo';
But that looks really scary.
--
Michael G Schwern [EMAIL PROTECTED] writes:
On Mon, Jan 21, 2002 at 03:02:06PM -0500, Tzadik Vanderhoof wrote:
Why all the fuss? Often, you would *want* to access that lexical after the
loop terminates, for instance to check how it terminated.
In most cases you don't want that to happen,
Larry Wall [EMAIL PROTECTED] writes:
Piers Cawley writes:
: Yeah, that's sort of where I got to as well. But I just wanted to make
: sure. I confess I'm somewhat wary of the ';' operator, especially
: where it's 'unguarded' by brackets, and once I start programming in
: Perl 6
Piers Cawley [EMAIL PROTECTED] writes:
Larry Wall [EMAIL PROTECTED] writes:
Piers Cawley writes:
: Yeah, that's sort of where I got to as well. But I just wanted to make
: sure. I confess I'm somewhat wary of the ';' operator, especially
: where it's 'unguarded' by brackets, and once I
You're treating do, if, foreach as if they were keywords. I'm not
entirely sure that that's still the case. And you're also forgetting
the possibility of user implemented control type operators/methods.
Unless I'm very much mistaken you're suggesting that we special case
the parser for 'do' and
Me [EMAIL PROTECTED] writes:
[concerns over conflation of post-processing and post-assertions]
Having read A4 thoroughly, twice, this was my only real concern
(which contrasted with an overall sense of wow, this is so cool).
I think that people have sort of got used to the fact that Perl 6
Okay boys and girls, what does this print:
my @aaa = qw/1 2 3/;
my @bbb = @aaa;
try {
print $_\n;
}
for @aaa; @bbb - my $a; my $b {
print $a:$b;
}
I'm guessing one of:
1:1
2:2
3:3
or a syntax error, complaining about something near
C@bbb - my $a ; my $b {
In other words, how does
[reformatting response for readability and giving Glenn a stiff talking
to]
Glenn Linderman [EMAIL PROTECTED] writes:
Piers Cawley wrote:
Okay boys and girls, what does this print:
my @aaa = qw/1 2 3/;
my @bbb = @aaa;
try {
print $_\n;
}
for @aaa; @bbb - my $a; my $b {
print
Aaron Sherman [EMAIL PROTECTED] writes:
On Sun, Dec 16, 2001 at 03:55:10PM +1100, Damian Conway wrote:
[...]
And, just for laughs:
$ref = [1,2];
@ary[$ref] = foo(); # probably a syntax error
Ok, as far as I can recall, Larry hinted that arrays and references to
Damian Conway [EMAIL PROTECTED] writes:
$val = (foo())[0];
List?
Scalar, obviously.
How do you figure that? (Not a criticism: I'd really like to understand your
thought process here so I can assess the relative DWIMity of the two
alternatives).
I figure
In the following code fragment, what context is foo() in?
@ary[0] = foo()
the following code
@ary= foo()
obviously evaluates @foo in a list context, but in the first I'm no
longer sure.
--
Piers
It is a truth universally acknowledged that a language in
possession of a
Brent Dax [EMAIL PROTECTED] writes:
Piers Cawley:
# In the following code fragment, what context is foo() in?
#
# @ary[0] = foo()
The short answer is scalar context. The long answer is below. Note
that the long answer is only the way I think of it. You may think
differently.
I
Dan Sugalski [EMAIL PROTECTED] writes:
At 04:21 PM 11/8/2001 -0800, John Rudd wrote:
So, does this mean my other heart's desire of operator overloading might
be coming forth? (I know, I know, here I am, a smalltalker, asking for
operator overloading ... but, what are the smalltalkers gonna do,
Damian Conway [EMAIL PROTECTED] writes:
Of course, that's not to say that the particular Cundef that's returned on
failure-to-numerify mightn't have a property set that indicates the problem
was not-a-numeric in nature.
Having more than one 'undef' value sounds like a recipe for internals
Brent Dax [EMAIL PROTECTED] writes:
Garrett Goebel:
# my int ($pre, $in, $post) is constant = (0..2);
#
# Means that you are asking for compile time optimizations, and
# agreeing not
# to bless references to, or ascribe run-time properties to
# those scalars. So
# we've already got
David M. Lloyd [EMAIL PROTECTED] writes:
On Wed, 31 Oct 2001, David Nesting wrote:
On Tue, Oct 30, 2001 at 09:37:39AM -0500, Aaron Sherman wrote:
: Yep, but in Perl5, this was never very clean or obvious to the
: casual programmer. Constants have been coming of age in Perl,
: and they're
Damian Conway [EMAIL PROTECTED] writes:
Brent told us:
All these Star Trek references are threatening to make my warp core
breach... :^)
Too much information.
Look, I'm sorry, okay? I only finished up the article with a Trek
reference because, whilst I could see Larry as Giles, I
Uri Guttman [EMAIL PROTECTED] writes:
GG == Garrett Goebel [EMAIL PROTECTED] writes:
GG Piers Cawley has written a nice article entitled: Perl 6 : Not
GG Just For Damians.
GG If the hair on the back of your neck rises when thinking about
GG Perl 6, or even if it doesn't... give
Bart Lateur [EMAIL PROTECTED] writes:
On Thu, 25 Oct 2001 16:53:46 -0500, Garrett Goebel wrote:
Piers Cawley has written a nice article entitled: Perl 6 : Not Just For
Damians.
http://www.perl.com/pub/a/2001/10/23/damians.html
I just hope that you don't really have to insert that many
Jonathan Scott Duff [EMAIL PROTECTED] writes:
On Fri, Oct 26, 2001 at 01:13:42PM -0400, Aaron Sherman wrote:
It does make me think, though... Would it make sense to have an
accessor operator? For example, in Perl5 I would do this:
sub foo {
my $self = shift;
Aaron Sherman [EMAIL PROTECTED] writes:
On Mon, Oct 22, 2001 at 04:27:24PM +0100, Sam Vilain wrote:
On Fri, 19 Oct 2001 09:27:50 -0400
Aaron Sherman [EMAIL PROTECTED] wrote:
I am implementing a textbook algo in Perl (the textbook has
it written in C++) and have realized that if undef
Okay, I think I understand how we're going to be mapping from an
operator to a function name in most cases. But what about the ternary
operator?
operator:??::
Or something else. I'm assuming something else, because there may be
cases in which we want to define our own ternary operators.
Damian Conway [EMAIL PROTECTED] writes:
Colin exemplifies:
$a = 1;
@a = (1);
@b = (1, 2, 3);
@c = (4, 5, 6);
$a = $a ^+ @b;
@a = @a ^+ @b;
print $a; # 7
No. It will (probably) print: 4. Because:
$a = $a ^+ @b;
becomes:
Bart Lateur [EMAIL PROTECTED] writes:
On Sat, 06 Oct 2001 22:20:49 -0400, John Siracusa wrote:
So, in the
operator, the filter is the adverb:
$sum =
@costs : {$^_ 1000};
WTF is that operator? All I see is a black block. We're not in ASCII any
more, Toto...
I'm guessing
HellyerP [EMAIL PROTECTED] writes:
:Alberto Manuel Brandao Simoes [EMAIL PROTECTED] writes:
:
: If we are in the mood of changing operators, can be /\
: and || can be \/. At least, mathematicians will like it!
:
:You are, of course, joking.
Given Damian's sigma operator
Michael G Schwern [EMAIL PROTECTED] writes:
On Tue, Oct 09, 2001 at 11:22:02AM +0100, Piers Cawley wrote:
Does the change from ?: to ??:: mean that we can have '?' as a valid
character in an identifier? I quite like the ruby/scheme idiom of
having boolean methods ending in a question mark
Damian Conway [EMAIL PROTECTED] writes:
His point was that the NaN IEEE came up with is defined to have
NaN != NaN, and that it might be confusing if Perl's behavior
wasn't consistent with that. Not that I think NaN != NaN is a
particularly good idea, but consistency with
, in which case it'll have a
different handler in the vtable.
--
Piers Cawley
www.iterative-software.com
your general point about 'goto $method'.
--
Piers Cawley
www.iterative-software.com
-method($spot);
Unless I've totally misunderstood the current proposals for what
happens with arguments passed in, it's still going to be possible to
rebless an argument, therefore $spot will need to be rechecked after
every method call to which it is passed as an argument.
--
Piers Cawley
[EMAIL PROTECTED] writes:
On Tue, Jul 03, 2001 at 10:26:39AM +0100, Piers Cawley wrote:
Hmm... let me write it first would you? Shouldn't be *too* hard.
Suggestions for a real name for it?
Class::Anonymous? Class::Anon?
PS base has to take an array ref. Don't forget MI!
I haven't
Piers Cawley [EMAIL PROTECTED] writes:
Michael G Schwern [EMAIL PROTECTED] writes:
On Mon, Jul 02, 2001 at 04:18:31PM -0400, Michael G Schwern wrote:
On Mon, Jul 02, 2001 at 12:59:51PM -0700, David Whipp wrote:
Its not quite the same thing, but Java does have the concept
Michael G Schwern [EMAIL PROTECTED] writes:
On Tue, Jul 03, 2001 at 08:34:00AM +0100, Piers Cawley wrote:
my $anon = My::Anon::ObjectFactory-new({base = 'Class',
method1 = sub { ... },
method2
, especially when you're writing
tests to test the test harness...
--
Piers Cawley
www.iterative-software.com
of coding.
--
Piers Cawley
www.iterative-software.com
will throw an exception.
--
Piers Cawley
www.iterative-software.com
available...
And today I put the finishing touches on the Ruby-to-Perl-bytecode
compiler. Then there'll be no excuse for people using that slow old
Ruby interpreter again. :)
Apart from the minor issue of Leon not having ported all the runtime
libraries (in annoying C) yet.
--
Piers Cawley
Simon Cozens [EMAIL PROTECTED] writes:
On Sun, Jun 03, 2001 at 09:42:37PM +0100, Piers Cawley wrote:
Apart from the minor issue of Leon not having ported all the runtime
libraries (in annoying C) yet.
Because I'm hacking at the bytecode level, I can replace the relevant
subroutine calls
don't necessarily have to make the semantics particularly
transparent for pathological cases, because people doing that are
expected to know what they are doing.
Or pathological. I know which one I'm voting for...
--
Piers Cawley
www.iterative-software.com
that functions can have properties in perl5, but not in
perl 6.
--
Piers Cawley
www.iterative-software.com
. There is no real separation
between methods and properties. I can see it causing problems due to
them sharing namespaces. But I have not thought about it enough to
say how much of a concern.
There's a part of me that sees this as a bonus.
--
Piers Cawley
www.iterative-software.com
$retval.what_went_wrong, which would be really handy...
--
Piers Cawley
www.iterative-software.com
. Dictionaries and calculators have very
different interfaces in the real world, and it's false economy to
overgeneralize. Witness the travails of people trying to use
cell phones to type messages.
They appear to rather like it in the UK. But then people are very
weird indeed.
--
Piers Cawley
Simon Cozens [EMAIL PROTECTED] writes:
On Tue, May 08, 2001 at 01:59:47PM -0400, John Porter wrote:
Perl is a highly dynamic language
An object with exactly one and only one method doesn't sound that
dynamic to me.
Three methods, surely: next, last, redo.
--
Piers Cawley
www.iterative
Those new properties thingies are looking powerful. Does this mean we
can now do:
sub decorate ($obj) {
$obj is ad_hoc_method(sub {...});
}
and expect C$obj.ad_hoc_method(...) to call the appropriate
subroutine?
--
Piers Cawley
www.iterative-software.com
Buddha Buck [EMAIL PROTECTED] writes:
Piers Cawley [EMAIL PROTECTED] writes:
Buddha Buck [EMAIL PROTECTED] writes:
Bart Lateur [EMAIL PROTECTED] writes:
On Wed, 25 Apr 2001 15:52:47 -0600 (MDT), Dan Brian wrote:
So why not
$object!method(foo, bar
list now then? Not that I object to
borrowing from Objective C you realise.
--
Piers Cawley
www.iterative-software.com
. It's a cute little arrow :) You'll have to
make it very clear why . is a better fit for Perl 6 than - Otherwise
people will probably mourn the missing Mr. Pointy ;)
--
Piers Cawley
www.iterative-software.com
Dan Sugalski [EMAIL PROTECTED] writes:
At 08:23 PM 4/13/2001 -0700, jc vazquez wrote:
On Thu, 12 Apr 2001, Dave Storrs wrote:
...
We could then just add a -7 flag.
Or, just use:
#!/usr/bin/perl6
To solve this versioning issue, is there a way Perl 6 compiler can just
Jarkko Hietaniemi [EMAIL PROTECTED] writes:
On Wed, Apr 04, 2001 at 11:46:12PM -0700, Nathan Torkington wrote:
Not a comment at all on it? Was I accidentally unsubscribed to
perl6-language?
*tap* *tap* is this thing on?
Nat
Me, I've been racking my brain to figure out whether
Simon Cozens [EMAIL PROTECTED] writes:
On Thu, Apr 05, 2001 at 01:33:22PM -0700, Edward Peschko wrote:
I'd really rather not, and I don't think that was Larry's intention. I
think rather it was "perl 5 warning/strict levels", not "parse as perl 5
code". At least I hope that's the
[EMAIL PROTECTED] writes:
English, by comparison shows the effects of protracted foreign
occupation of English speaking peoples by conquerors who spoke a
foreign language.
And also of protacted occupation of foreign countries by English
speaking conquerors. Witness the number of Indian loan
Dan Sugalski [EMAIL PROTECTED] writes:
True enough. This is a small subset of general optimizations. For example,
this:
$i = 0;
foreach (1..1000) {
$i++;
}
can be easily optimized to:
$i = 1000;
and most language implementations with any sort of optimizer will
Peter Scott [EMAIL PROTECTED] writes:
At 09:01 PM 2/15/01 +0100, [EMAIL PROTECTED] wrote:
On Thu, Feb 15, 2001 at 11:08:47AM -0800, Edward Peschko wrote:
However, that still doesn't get rid of the gotchas - personally I think that:
my $a, $b, $c;
should be an error, a warning,
Dan Sugalski [EMAIL PROTECTED] writes:
At 10:38 AM 2/12/2001 -0500, Sam Tregar wrote:
On Mon, 12 Feb 2001, Dan Sugalski wrote:
Perl needs some level of tracking for objects with finalization attached to
them. Full refcounting isn't required, however.
I think I've heard you state
Mark Koopman [EMAIL PROTECTED] writes:
On Fri, 09 Feb 2001 12:06:12 -0500, Ken Fox wrote:
That may work for C, but not for Perl.
sub test {
my($foo, $bar, %baz);
...
return \%baz;
}
You may notice that only PART of the locally malloced
"Branden" [EMAIL PROTECTED] writes:
Piers Cawley wrote:
"Branden" [EMAIL PROTECTED] writes:
Of course, C++ has no GC, which is a good thing, but you can always
fake it with Refcounts, which is much more efficient, and easily
feasable with C++.
Err... cu
"Branden" [EMAIL PROTECTED] writes:
Of course, C++ has no GC, which is a good thing, but you can always
fake it with Refcounts, which is much more efficient, and easily
feasable with C++.
Err... current research shows that the refcount approach is one of the
slowest forms of GC, and it
[EMAIL PROTECTED] (Andreas J. Koenig) writes:
On Fri, 26 Jan 2001 16:37:23 -0500, Michael G Schwern [EMAIL PROTECTED] said:
from what I remember we discussed
an idea to allow people and organizations to produce their own list of
approved modules.
This is already possible with the
Jarkko Hietaniemi [EMAIL PROTECTED] writes:
Larry mumbled something like "implements" and "interface". So to say
package Net::FTP::Foo implements Net::FTP;
But I don't think, anybody wrote an RFC about the plan.
I did. Or something like it. And I've got a couple of
Glenn Linderman [EMAIL PROTECTED] writes:
David Cantrell wrote:
And in any case, I can think of three different ways of saying 1821 in
English alone.
One thousand eight hundred and twenty one
One thousand eight hundred twenty one
Eighteen hundred and twenty one
As far as *I* am
Piers Cawley [EMAIL PROTECTED] writes:
"David L. Nicol" [EMAIL PROTECTED] writes:
Marc Lehmann wrote:
On Sat, Dec 30, 2000 at 05:31:29AM +, "David L. Nicol"
[EMAIL PROTECTED] wrote:
I do not know exactly what the perl5 default sort heuristic is,
aside t
David Cantrell [EMAIL PROTECTED] writes:
On Thu, Jan 04, 2001 at 09:28:26AM +, Piers Cawley wrote:
And for 'proper' library type sorting (assuming all works are in
English) we should really be doing something like:
require Lingua::EN::Numbers;
s/(\d+(?:\.\d+))/Lingua
Did we do this one already?
I have an embarrassingly large amount of code that has to do Ceval {
$foo-isa('Foo') }, or Ceval { $foo-can('Bar') } because there is a
chance that C$foo is an unblessed reference.
I would use UNIVERSAL::can directly, but I have some code (a
container/decorator
"David L. Nicol" [EMAIL PROTECTED] writes:
Marc Lehmann wrote:
On Sat, Dec 30, 2000 at 05:31:29AM +, "David L. Nicol" [EMAIL PROTECTED]
wrote:
I do not know exactly what the perl5 default sort heuristic is,
aside that it tries to DWIM both numeric and string data.
There is
"David L. Nicol" [EMAIL PROTECTED] writes:
Piers Cawley [EMAIL PROTECTED] writes:
[EMAIL PROTECTED] (Yitzchak Scott-Thoennes) writes:
$srt =~ tr/0-9a-z\xe9/a-jA-ZE/; # uc sort nums after letters
`10' is going to sort before `2' with that rule. Having done the who
Ariel Scolnicov [EMAIL PROTECTED] writes:
[ A bunch of stuff ]
Er, chaps, not wishing to tread on Skud's moderatorial toes and all,
but shouldn't all this be in perl6-internals?
Reply-To: set.
--
Piers
Alan Gutierrez [EMAIL PROTECTED] writes:
On 27 Sep 2000, Piers Cawley wrote:
Simon Cozens [EMAIL PROTECTED] writes:
On Wed, Sep 27, 2000 at 03:49:10PM +0100, Tom Christiansen wrote:
Don't change "use less" to "use optimize". We don't
need to ruin the c
Perl6 RFC Librarian [EMAIL PROTECTED] writes:
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Elements of @_ should be read-only by default
=head1 VERSION
Maintainer: John Tobey [EMAIL PROTECTED]
Date: 28 Sep 2000
Last Modified: 1 Oct
Jonathan Scott Duff [EMAIL PROTECTED] writes:
On Thu, Sep 28, 2000 at 08:57:39PM -, Perl6 RFC Librarian wrote:
${P1} means what $1 currently means (first match in last regex)
I'm sorry that I don't have anything more constructive to say than
"ick", but ... Ick.
I'm with the 'Ick'
Simon Cozens [EMAIL PROTECTED] writes:
On Thu, Sep 28, 2000 at 02:40:04PM -0400, John Porter wrote:
Tom Christiansen wrote:
Perl's use of @ISA is beautiful.
use base is, or can be, pretty silly --
think pseudohashes, just for one.
I suppose you diddle @INC directly, Tom,
Perl6 RFC Librarian [EMAIL PROTECTED] writes:
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Cuse syntax
[ ... ]
=head1 ABSTRACT
A pragma to modify the syntax of Perl 6 at run time. Oh yes.
[...]
=head1 IMPLEMENTATION
First,
Did anyone suggest the following yet?
package Foo;
my sub _helper_function { ... }
sub public_function {
...
helper_function(...);
...
}
# Some other file:
use Foo;
Foo::public_function(@args); # Okay
Foo::_helper_function(@args); #
Perl6 RFC Librarian [EMAIL PROTECTED] writes:
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
caller-eval BLOCK
=head1 VERSION
Maintainer: David Nicol [EMAIL PROTECTED]
Date: 28 Sep 2000
Mailing List: [EMAIL PROTECTED]
Number: 339
"Ed Mills" [EMAIL PROTECTED] writes:
I tried to contribute on this list but it seems we've coalesced downto Tom
and a handful of others. No one else has a voice.
Hmm... not my experience. But then I've only seen your message here
because of Simon's response to it, my spamfilter sees your
Piers Cawley [EMAIL PROTECTED] writes:
"Ed Mills" [EMAIL PROTECTED] writes:
I tried to contribute on this list but it seems we've coalesced downto Tom
and a handful of others. No one else has a voice.
Hmm... not my experience. But then I've only seen your message her
Perl6 RFC Librarian [EMAIL PROTECTED] writes:
This and other RFCs are available on the web at
http://dev.perl.org/rfc/
=head1 TITLE
Common attribute system to allow user-defined, extensible attributes
=head1 VERSION
Maintainer: Nathan Wiger [EMAIL PROTECTED]
Date: 28 Sep
John Porter [EMAIL PROTECTED] writes:
Piers Cawley wrote:
You know, I'm trying to see what's annoying about all those
parentheses in the lisp function and what do you know, I can't see
anything wrong. Okay, so it's not Perl syntax, but it's still clear
what's going on.
Yes
Tom Christiansen [EMAIL PROTECTED] writes:
I strongly agree with the opinion that we should try and get away from
special variables and switches in favor of functions and pragmas.
Witness 'use base' instead of '@ISA', 'use warnings', and so on.
Huh? Why??? Perl's use of @ISA is
301 - 400 of 470 matches
Mail list logo