Forgot, the tricky one is really:
#|{ docs for sub { } are in here } sub foo { }
^^ That should be fine and parses properly now. IMO just making the one
line work is also acceptable for now I'd say if you can't achieve both.
On Sun, Jan 17, 2016 at 4:58 PM Lloyd Fournier
wrote:
> I have also
I have also been down this path. The one line version is doable as you
suggested but the #|{ } version is harder because you need to nibble
in a sublanguage or do manual balanced text processing, which is why the
original author never implemented it I'm guessing.
The trick is getting:
#|{
do
There are now three of these XD.
https://rt.perl.org/Public/Bug/Display.html?id=126954
https://rt.perl.org/Public/Bug/Display.html?id=126654
FYI this is really difficult to implement with pod in its present state.
IMO We need POD as another language approach to do this properly:
https://github.co
# New Ticket Created by Rob Hoelz
# Please include the string: [perl #127294]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127294 >
For example:
#| Here I am
sub foo() {}
say(&foo.WHY.Str); # Here I am
# New Ticket Created by Rob Hoelz
# Please include the string: [perl #127293]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127293 >
For example:
DOC INIT {
use Pod::EOD;
}
If Pod::EOD is not installed, compilation of thi
# New Ticket Created by rightfold
# Please include the string: [perl #127291]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127291 >
The following code:
my %h{Pair};
%h{a => 1} = 2;
temp %h = %h.clone;
should su
I have tried this in my Perl 6 code (v6.c):
=begin DATA
blah
blah2
=end DATA
Then:
for $=DATA.lines -> $line {
# process a line
}
but I get this message:
Pod variable @=DATA not yet implemented. Sorry.
Is there any workaround for this other than putting the data in an array?
Thanks.
Best
On Sat, Jan 16, 2016 at 1:40 PM, James E Keenan wrote:
> Is there a timeline for the release of a Rakudo Star with 6.c?
>
I don't think there is a specific timeline, but given the rakudo bug fixes
since 6.c (in particular with CompUnitRepo, which would have made it
difficult to install the modul
I think folks were shooting for sometime-this-month.
On Jan 16, 2016 1:40 PM, "James E Keenan" wrote:
> Today, I posted on the ny.pm mailing list an announcement that I will
> attempt to organize a Perl 6 Beginners study group in New York City.
>
> I have been advised that for an introductory-lev
Today, I posted on the ny.pm mailing list an announcement that I will
attempt to organize a Perl 6 Beginners study group in New York City.
I have been advised that for an introductory-level group, the Rakudo
Star release would be the way to go. However, when I went here:
http://rakudo.org/
# New Ticket Created by Wenzel Peppmeyer
# Please include the string: [perl #127289]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127289 >
class C {};
sub outer(::T $c){
sub (T){ dd &?ROUTINE.signature.params[0], T ===
11 matches
Mail list logo