Namespaces (At Long Last)

2005-12-01 Thread Matt Diephouse
After many months and lots of work, I'm happy to present you with the latest namespace spec draft. Comments are most welcome: to quote Chip, "The rest of the discussion would benefit from more eyes." Thanks, -- matt diephouse http://matt.diephouse.com Synopsis - Languages should contain th

PIR methods and local variables occupy the same 'namespace'

2005-12-01 Thread Allison Randal
I realize this is a side effect of the fact that method names are actually strings, but it's an unfortunate result. If I have a little bit of code that calls a method without quotes around the name of the method, it calls the method (prints out "Boojum"), exactly as expected: .sub main :m

Re: Capabilities in Perl6?

2005-12-01 Thread Yuval Kogman
On Thu, Dec 01, 2005 at 10:54:14 -0500, Rob Kinyon wrote: > I just read the slides about CAPerl (http://caperl.links.org/) and it's an > interesting idea. The ideas I tossed around regarding the circular prelude should make perl 6 be roughly on the same level as javascript in terms of this securit

Re: Capabilities in Perl6?

2005-12-01 Thread Larry Wall
On Thu, Dec 01, 2005 at 10:54:14AM -0500, Rob Kinyon wrote: : I just read the slides about CAPerl (http://caperl.links.org/) and it's an : interesting idea. Leaving aside the question of whether this would work in : Perl5 or not, I think it would be very interesting to look at building this : conce

Capabilities in Perl6?

2005-12-01 Thread Rob Kinyon
I just read the slides about CAPerl (http://caperl.links.org/) and it's an interesting idea. Leaving aside the question of whether this would work in Perl5 or not, I think it would be very interesting to look at building this concept into Perl6. Here's how I'd envision doing so: * Any subrouti

Re: statement_control()

2005-12-01 Thread Michele Dondi
On Wed, 30 Nov 2005, Piers Cawley wrote: $fh = open '>>', 'quotefile' or fail; $fh.print <<'EOQ' Hmmm... 1/sqrt(2) * ( |Perl5> + |Perl6> ) ? ;-) (I thought '>>' & C. were gone...) Michele -- We can only see a short distance ahead, but we can see plenty there that needs to be done. - Alan T