use Perl Log In
Ask Perl 6
Dan writes "It's time to pose your questions about Perl 6 to our crack Perl 6 design team. The ten highest-moderated questions will be passed on to Damian Conway, Larry Wall, and a cast of several for answering. The questions will be gathered up Thursday afternoon, with the answers scheduled for posting on Monday, May 20th." Remember, Perl 6 is not Parrot, so if you have Parrot questions, hold on to them for the next time.
Ask Perl 6
More |
Login
| Reply
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

Extensions (Score:3, Interesting)
Reply to This
Re:Extensions (Score:2)
Re:Extensions (Score:2, Informative)
It's possible to build "plain" Perl 5 modules too, but who would want to? XS exists to make programming Perl 5 modules in C easier. Is there good reason to think that Perl 6 won't need something similar?
-sam
Re:Extensions (Score:2, Interesting)
Don't forget that the same standard also needs to be there for any other language hosted on Parrot--a C extension should look the same for Perl as it does for Ruby, Python, Scheme, or BASIC. That puts the responsibility of how it looks and works on the shoulders of the Parrot folks, not the Perl language design folks.
Re:Extensions (Score:2, Interesting)
Should have a preliminary spec within a week, I think.
Objects, context, et al (Score:3, Interesting)
Given this:
Will Perl 6 allow a programmer to distinguish between these within method1 somehow?Along those lines, will there be better support for method chaining, along the lines of Robin Houston's 'Want' module?In the above example, method1 would return a reference to $self, while method2 would return a value.Again, along the same lines, will methods modify a receiver in place by default or not?
Reply to This
Re:Objects, context, et al (Score:2)
Extensions - rephrased (Score:3, Interesting)
Reply to This
Ease of parsing Perl 6 (Score:2, Interesting)
The (true) comment is often made about Perl 5, "Only Perl can parse Perl". It appears Perl 6 will also have many nice DWIM-y features, some of which depend on interpreting input flexibly. I like that a lot, but I also wonder how much weight is being given to making Perl 6 easy to parse; without resorting to tightly coupling the scanner and parser, for example.
Re:Ease of parsing Perl 6 (Score:2, Interesting)
-sam
Re:Ease of parsing Perl 6 (Score:2, Informative)
me. Hashes (esp. nsted anonymous hashes),
blocks, and gratutitous use of block forms
of grep, map, and eval do cause it to croak though.
Were that I say, pancakes?
Platform specific functionality (alarm/fork) etc. (Score:4, Interesting)
alarm,fork,flock, signal handlers etc.i.e. with Perl 5, they aren't fully implemented on the Win32 platform. It is argued that this is because of insufficiencies in the OS, but they are part of the language, and I'd argue that they should work as much as possible on all platforms.
With Perl 6, will these be natively implemented within the language (e.g. within the capabilities of Parrot I suppose)? Or would they be transparently wrapped? Or will Win32 etc. users still have to make do with the non- or partially- implemented versions?
(I'm hoping of course that we will be able to play with the big boys soon!)
osfameron
Reply to This
signals, eval, exceptions (Score:2)
Re:signals, eval, exceptions (Score:2, Informative)
Re:signals, eval, exceptions (Score:2, Interesting)
Tainting, Safe compartments, Security (Score:4, Interesting)
Reply to This
Re:Tainting, Safe compartments, Security (Score:4, Interesting)
Reply to This
Parent
Pascal-like "in" operator? (Score:2, Interesting)
&some_sub if ("some_string" in @some_array);
Thanks
--
Cameron
Re:Pascal-like "in" operator? (Score:2, Informative)
=~:&some_sub if (@some_array =~ "some_string");Will it be released this decade? (Score:2)
Re:Will it be released this decade? (Score:4, Funny)
Then we just have to write the parser, and we're all done!
;-)
Reply to This
Parent
Favorite? (Score:3, Interesting)
Reply to This
`Source Filters' (Score:2, Interesting)
used during the initial startup phase of Perl's execution. If you do a runtimerequireof a module then its source filters don't get applied. This is somewhat annoying. (And that's putting it mildly; the whole BEGIN/CHECK/INIT cycle only works at perl start time, which makes delayed loading of all sorts of modules impossible.)So, assuming perl 6 retains BEGIN/CHECK/INIT and source filters (and I hope it does), will these now work for
POD (Score:2)
Perl design goals (Score:3, Insightful)
Other than "Do What I Mean", removing the cruftiness from past Perl implementations, and adding new cool stuff, can you describe the basic design goals underlying the design of Perl 6?
Although the Apocalypses are good at organizing the changes into specific areas, I feel like I'm missing the overall picture -- what objectives are planned for the language redesign of big-P Perl? (as opposed the compiler/virtual machine redesign in small-p perl)
Reply to This