Re: Scripting competition: password solution

2009-01-09 Thread Richard Hainsworth
wrong pod commands s/=pod/=begin/ s/=cut/=end/ Richard Hainsworth wrote: Here's a solution to the scripting competition test. Patrick suggested publishing solutions somewhere, including this list. #!/usr/local/bin/perl6 =pod Patrick Michaud suggested (http://use.perl.org/~pmichaud/journal/381

Re: r24809 - docs/Perl6/Spec

2009-01-09 Thread Aaron Crane
pugs-comm...@feather.perl6.nl writes: > +=item -x > + > +Run program embedded in ASCII text. Infrequently used, and doesn't > +deserve its own command-line option. I understand the use case for that option is piping a mail or news message to `perl -x` to run a script contained within it. If that

[perl #62112] sort hash by value

2009-01-09 Thread via RT
# New Ticket Created by Richard Hainsworth # Please include the string: [perl #62112] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62112 > Using the idiom in http://www.rakudo.org/2008/12/its-sort-of-like.html causes a s

[perl #62116] no interpolation into string of array element

2009-01-09 Thread via RT
# New Ticket Created by Richard Hainsworth # Please include the string: [perl #62116] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62116 > Array element does not interpolate it does in perl5 (Is this a design choice or a

[perl #62122] ~ in regexes doesn't allow braces as the last term

2009-01-09 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #62122] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62122 > 11:33 < p6eval> rakudo 35266: OUTPUT«(aa)␤» 11:35 <@moritz_> rakudo: regex recursive { '(

Re: [perl #62116] no interpolation into string of array element

2009-01-09 Thread jerry gay
On Fri, Jan 9, 2009 at 02:31, via RT Richard Hainsworth wrote: > # New Ticket Created by Richard Hainsworth > # Please include the string: [perl #62116] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=62116 > > > > Array el

Re: [perl #62116] no interpolation into string of array element

2009-01-09 Thread jerry gay
On Fri, Jan 9, 2009 at 08:26, Jonathan Scott Duff wrote: > On Fri, Jan 9, 2009 at 9:49 AM, jerry gay wrote: >> >> On Fri, Jan 9, 2009 at 02:31, via RT Richard Hainsworth >> wrote: >> > # New Ticket Created by Richard Hainsworth >> > # Please include the string: [perl #62116] >> > # in the subj

Re: [perl #62116] no interpolation into string of array element

2009-01-09 Thread Carl Mäsak
jerry (>), Richard (>>): >> Array element interpolation is not listed as something common not >> working in Rakudo. >> > this is a design choice. ...Meaning that it has dependencies to other components in Rakudo being replaced or improved, not that it won't ever be implemented in Rakudo. :) // Ca

Re: [perl #62116] no interpolation into string of array element

2009-01-09 Thread Jonathan Scott Duff
On Fri, Jan 9, 2009 at 9:49 AM, jerry gay wrote: > On Fri, Jan 9, 2009 at 02:31, via RT Richard Hainsworth > wrote: > > # New Ticket Created by Richard Hainsworth > > # Please include the string: [perl #62116] > > # in the subject line of all future correspondence about this issue. > > # http:

r24844 - docs/Perl6/Spec

2009-01-09 Thread pugs-commits
Author: particle Date: 2009-01-09 21:57:14 +0100 (Fri, 09 Jan 2009) New Revision: 24844 Modified: docs/Perl6/Spec/S19-commandline.pod Log: [S19] a little copy-editing Modified: docs/Perl6/Spec/S19-commandline.pod === --- docs/Perl

r24846 - docs/Perl6/Spec

2009-01-09 Thread pugs-commits
Author: particle Date: 2009-01-09 22:05:46 +0100 (Fri, 09 Jan 2009) New Revision: 24846 Modified: docs/Perl6/Spec/S19-commandline.pod Log: [S19] describe how to avoid ambiguity when nesting delimited options Modified: docs/Perl6/Spec/S19-commandline.pod

r24847 - docs/Perl6/Spec

2009-01-09 Thread pugs-commits
Author: particle Date: 2009-01-09 22:13:19 +0100 (Fri, 09 Jan 2009) New Revision: 24847 Modified: docs/Perl6/Spec/S19-commandline.pod Log: [S19] add notes for further design review Modified: docs/Perl6/Spec/S19-commandline.pod ===

r24848 - docs/Perl6/Spec

2009-01-09 Thread pugs-commits
Author: particle Date: 2009-01-09 22:17:42 +0100 (Fri, 09 Jan 2009) New Revision: 24848 Modified: docs/Perl6/Spec/S19-commandline.pod Log: [S19] a note on assumptions Modified: docs/Perl6/Spec/S19-commandline.pod === --- docs/Perl

Re: r24846 - docs/Perl6/Spec

2009-01-09 Thread Eirik Berg Hanssen
pugs-comm...@feather.perl6.nl writes: > +C<--prelude=Perl6-autoloop-no-print>. Since eager matching is used, if you > +need to pass something like: > > + ++foo -bar ++foo baz ++/foo ++/foo > > +you'll end up with > + > + %+OPTS = '-bar ++foo baz'; That doesn't look very "eager" to me.

Re: r24846 - docs/Perl6/Spec

2009-01-09 Thread jerry gay
On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen wrote: > pugs-comm...@feather.perl6.nl writes: > >> +C<--prelude=Perl6-autoloop-no-print>. Since eager matching is used, if you >> +need to pass something like: >> >> + ++foo -bar ++foo baz ++/foo ++/foo >> >> +you'll end up with >> + >> + %+OPTS

Re: r24846 - docs/Perl6/Spec

2009-01-09 Thread Eirik Berg Hanssen
"jerry gay" writes: > On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen > wrote: >> That doesn't look very "eager" to me. >> > it's "eager" for the match to close, which is the opposite of "greedy" > matching. in perl 5 documentation, it's called "non-greedy". for use > and explanation of the te

Re: r24846 - docs/Perl6/Spec

2009-01-09 Thread jerry gay
On Fri, Jan 9, 2009 at 14:26, Eirik Berg Hanssen wrote: > "jerry gay" writes: > >> On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen >> wrote: >>> That doesn't look very "eager" to me. >>> >> it's "eager" for the match to close, which is the opposite of "greedy" >> matching. in perl 5 documentat