Re: Virtualmin and Webmin web hosting control panel are written in Perl 5

2022-08-03 Thread Will Coleda
n and Webmin web hosting control panel are written in Perl 5 > > Good day from Singapore, > > I understand that Virtualmin and Webmin web hosting control panel are > written in Perl 5. > > Source: In which perl framework is webmin written into? > Link: https://archive.virtualm

Virtualmin and Webmin web hosting control panel are written in Perl 5

2022-08-01 Thread Turritopsis Dohrnii Teo En Ming
Subject: Virtualmin and Webmin web hosting control panel are written in Perl 5 Good day from Singapore, I understand that Virtualmin and Webmin web hosting control panel are written in Perl 5. Source: In which perl framework is webmin written into? Link: https://archive.virtualmin.com/node

Virtualmin and Webmin web hosting control panel are written in Perl 5

2022-08-01 Thread Turritopsis Dohrnii Teo En Ming
Subject: Virtualmin and Webmin web hosting control panel are written in Perl 5 Good day from Singapore, I understand that Virtualmin and Webmin web hosting control panel are written in Perl 5. Source: In which perl framework is webmin written into? Link: https://archive.virtualmin.com/node

Re: Perl 5 list assignment idiom

2021-11-13 Thread rir
On Mon, Mar 13, 2017 at 11:32:25AM -0700, Sean McAfee wrote: > In Perl 5 ... > 1 == (my ($script) = $page->find('//script')) > or die "Other than exactly one script element found"; > Can a similar expression that avoids an intermediate array variab

Passing on Fates [was: Re: Teaching Rakudo the tricks of Perl 5's regex optimiser]

2019-08-13 Thread Timo Paulssen
On 13/08/2019 16:32, Brad Gilbert wrote: > Perhaps the biggest one may be the one about passing around “fates”. > (I barely understand the basics of this.) The optimization opportunity Brad is refering to here is relevant mostly to grammars with deeply nested multi-tokens:

Re: Teaching Rakudo the tricks of Perl 5's regex optimiser

2019-08-13 Thread Timo Paulssen
or *anyone else interested*): > > Jonathan did a talk in Riga, Perl 6 performance update, > https://perlcon.eu/talk/80 > The (re-uploaded) live stream is at > https://www.youtube.com/watch?v=S5iVBlk7pdg#t=4h39m > > One thing that this talk revealed is that (currently) Perl 5 be

Re: Teaching Rakudo the tricks of Perl 5's regex optimiser

2019-08-13 Thread Patrick R. Michaud
FWIW, at one time there was discussion that "" and "" are actually keywords and not typical method calls that can be overridden, precisely so optimizations can be made. They're that important to efficient running of the regexes. I'm not sure that a formal decision was ever made on this,

Re: Teaching Rakudo the tricks of Perl 5's regex optimiser

2019-08-13 Thread Timo Paulssen
>     use v6; >     'abcd' ~~ / . <.before( /c/ )> .  / # "bc" >     'abcd' ~~ / . <.before   c   > .  / # "bc" # (exactly identical) > > A person could change the code in the `before` method to have it do > something different At least at the moment, that's not 100% accurate (only by virtue

Re: Teaching Rakudo the tricks of Perl 5's regex optimiser

2019-08-13 Thread Brad Gilbert
e, > https://perlcon.eu/talk/80 > The (re-uploaded) live stream is at > https://www.youtube.com/watch?v=S5iVBlk7pdg#t=4h39m > > One thing that this talk revealed is that (currently) Perl 5 beats > Rakudo on various regular expressions. What *I* know is that this is > because > Perl 5 che

Teaching Rakudo the tricks of Perl 5's regex optimiser

2019-08-13 Thread Nicholas Clark
One thing that this talk revealed is that (currently) Perl 5 beats Rakudo on various regular expressions. What *I* know is that this is because Perl 5 cheats - it has an "optimiser", which happens to automatically do what jnthn then showed manually implemented in some of his benchmarks. Y

Re: Need help converting from Perl 5

2018-05-15 Thread JJ Merelo
t;curl", where there are no issues > with redirects, user agent stings, cookies, and such. > > My curl module also allows me to send eMail, including SSL > and one attachment. > > The one drawback of Perl 6 over Perl 5 is the lack of > mature module support, but things are always improving! > > :-) > > -T > -- JJ

Re: Need help converting from Perl 5

2018-05-15 Thread ToddAndMargo
nt stings, cookies, and such. My curl module also allows me to send eMail, including SSL and one attachment. The one drawback of Perl 6 over Perl 5 is the lack of mature module support, but things are always improving! :-) -T

Re: Need help converting from Perl 5

2018-05-14 Thread Shlomi Fish
Hi Todd, On Sun, 13 May 2018 22:07:59 -0700 ToddAndMargo <toddandma...@zoho.com> wrote: > On 05/13/2018 09:41 PM, ToddAndMargo wrote: > > Hi All, > > > > I can't not remember what I did in Perl 5 here and > > am not having a good time converting it to Perl 6. &

Re: Need help converting from Perl 5

2018-05-14 Thread JJ Merelo
com>) escribió: > >> El lun., 14 may. 2018 a las 7:08, ToddAndMargo (<toddandma...@zoho.com > >> <mailto:toddandma...@zoho.com>>) escribió: > >> > >> On 05/13/2018 09:41 PM, ToddAndMargo wrote: > >> > Hi All, > >> >

Re: Need help converting from Perl 5

2018-05-14 Thread ToddAndMargo
El lun., 14 may. 2018 a las 7:08, ToddAndMargo (<toddandma...@zoho.com <mailto:toddandma...@zoho.com>>) escribió: On 05/13/2018 09:41 PM, ToddAndMargo wrote: > Hi All, > > I can't not remember what I did in Perl 5 here and > am not havin

Re: Need help converting from Perl 5

2018-05-13 Thread ToddAndMargo
On 05/13/2018 09:41 PM, ToddAndMargo wrote: Hi All, I can't not remember what I did in Perl 5 here and am not having a good time converting it to Perl 6. $  perl -e 'my $A="44.rc0"; if ($A ~~ /(^[0-9,.,a,b,rc]+$)/ ) {print "$1\n";} else {print "\$A = <$A>

Need help converting from Perl 5

2018-05-13 Thread ToddAndMargo
Hi All, I can't not remember what I did in Perl 5 here and am not having a good time converting it to Perl 6. $ perl -e 'my $A="44.rc0"; if ($A ~~ /(^[0-9,.,a,b,rc]+$)/ ) {print "$1\n";} else {print "\$A = <$A>\n"}' 44.rc0 The actual code is: if

Re: [perl #129941] [PERF] [IO] Perl 6 text file line read is much slower than Perl 5

2017-09-12 Thread Tom Browder via RT
suite > > > of tests that show the differences. > > > > Suite has been updated considerably. > > In a benchmark on my local machine, after many improvements, I now see > Perl 6 coming out slightly ahead of Perl 5 when the UTF-8 encoding is being > used: ...

Re: [perl #129941] [PERF] [IO] Perl 6 text file line read is much slower than Perl 5

2017-09-12 Thread Tom Browder
suite > > > of tests that show the differences. > > > > Suite has been updated considerably. > > In a benchmark on my local machine, after many improvements, I now see > Perl 6 coming out slightly ahead of Perl 5 when the UTF-8 encoding is being > used: ...

[perl #129941] [PERF] [IO] Perl 6 text file line read is much slower than Perl 5

2017-09-12 Thread jn...@jnthn.net via RT
on my local machine, after many improvements, I now see Perl 6 coming out slightly ahead of Perl 5 when the UTF-8 encoding is being used: $ time perl6 -e 'my $fh = open "longfile"; my $chars = 0; for $fh.lines { $chars = $chars + .chars }; $fh.close; say $chars' 6000 real0m1.0

[perl #129941] [PERF] [IO] Perl 6 text file line read is much slower than Perl 5

2017-09-12 Thread jn...@jnthn.net via RT
on my local machine, after many improvements, I now see Perl 6 coming out slightly ahead of Perl 5 when the UTF-8 encoding is being used: $ time perl6 -e 'my $fh = open "longfile"; my $chars = 0; for $fh.lines { $chars = $chars + .chars }; $fh.close; say $chars' 6000 real0m1.0

Re: [perl #131076] [LTA] Rakudo sees Perl 5 code even if there is none (for $x(42), $x(50) {…})

2017-03-30 Thread Timo Paulssen
Of course there should have been a "," between (list) and $othervar.

Re: [perl #131076] [LTA] Rakudo sees Perl 5 code even if there is none (for $x(42), $x(50) {…})

2017-03-30 Thread Timo Paulssen
But perl5 won't accept for $var (list) $othervar (anotherlist) { ... } right? So we definitely shouldn't complain, or at least we should point out the workaround of putting a dot between $var and (list) On 30/03/17 03:51, Brandon Allbery wrote: > That *is* Perl 5 syntax, though; it lo

Re: [perl #131076] [LTA] Rakudo sees Perl 5 code even if there is none (for $x(42), $x(50) {…})

2017-03-29 Thread Brandon Allbery
That *is* Perl 5 syntax, though; it looks like the schema for $var (list) { ... } # the space is not required between the var and the parenthesized list On Wed, Mar 29, 2017 at 9:35 PM, Aleks-Daniel Jakimenko-Aleksejev < perl6-bugs-follo...@perl.org> wrote: > # New Ticket Created

[perl #131076] [LTA] Rakudo sees Perl 5 code even if there is none (for $x(42), $x(50) {…})

2017-03-29 Thread via RT
RRY!=== Error while compiling -e This appears to be Perl 5 code at -e:1 --> my $x = *²; for ⏏$x(42), $x(50) { say $_ }

Re: Perl 5 list assignment idiom

2017-03-13 Thread Brock Wilcox
The == operator coerces to Numeric, so like: > sub one-thing { return ("hi",) } sub one-thing () { #`(Sub|93867233982256) ... } > one-thing.Numeric 1 (mentioned in https://docs.perl6.org/routine/$EQUALS_SIGN$EQUALS_SIGN) I think my does indeed do some fancy precidenting with the assignment.

Re: Perl 5 list assignment idiom

2017-03-13 Thread Sean McAfee
t;,) } > sub one-thing () { #`(Sub|140454852043936) ... } > > 1 == my $script = one-thing > True > > $script > (hi) > > But then: > $script.WHAT (List) In the Perl 5 version, $script is assigned the single element of the returned list. In your code, it refers to the list it

Re: Perl 5 list assignment idiom

2017-03-13 Thread Will Coleda
> sub two-things { return } sub two-things () { #`(Sub|140454852044088) ... } > 1 == my $bar = two-things False > $bar (hi there) On Mon, Mar 13, 2017 at 2:32 PM, Sean McAfee <eef...@gmail.com> wrote: > In Perl 5, list assignment in scalar context evaluates to the number of l

Perl 5 list assignment idiom

2017-03-13 Thread Sean McAfee
In Perl 5, list assignment in scalar context evaluates to the number of list elements on the right-hand side. That enables an idiom that I rather like: 1 == (my ($script) = $page->find('//script')) or die "Other than exactly one script element found"; Can a simil

Re: perl 5?

2016-11-17 Thread ToddAndMargo
On 11/17/2016 05:34 AM, yary wrote: Addning to Jan's answer, PerlMonks is still a great place for answers on Perl5 topics (and even some Perl6) http://perlmonks.org/ > I still do not have perl 6

Re: perl 5?

2016-11-17 Thread Brandon Allbery
On Thu, Nov 17, 2016 at 3:03 PM, ToddAndMargo <toddandma...@zoho.com> wrote: > And quiet a few perl 5 programmers are REALLY GRUMPY/CRABBY > about perl 6. I don't get it. > I think mostly this is history: the original perl 6 development team languished for many years producing ba

Re: perl 5?

2016-11-17 Thread ToddAndMargo
On 11/17/2016 08:18 AM, Brandon Allbery wrote: On Thu, Nov 17, 2016 at 2:08 AM, ToddAndMargo <toddandma...@zoho.com> wrote: Would you guys tolerate a perl 5 question every so

Re: perl 5?

2016-11-17 Thread ToddAndMargo
On 11/16/2016 11:27 PM, Jan Ingvoldstad wrote: On Thu, Nov 17, 2016 at 8:08 AM, ToddAndMargo <toddandma...@zoho.com> wrote: Hi All, Would you guys tolerate a perl 5 question

Re: perl 5?

2016-11-17 Thread Brandon Allbery
On Thu, Nov 17, 2016 at 2:08 AM, ToddAndMargo <toddandma...@zoho.com> wrote: > Would you guys tolerate a perl 5 question every so often? Quite a few of the folks who work on Perl 6 don't know Perl 5, or at least know it only incidentally. -- brandon s allb

Re: perl 5?

2016-11-17 Thread yary
Addning to Jan's answer, PerlMonks is still a great place for answers on Perl5 topics (and even some Perl6) http://perlmonks.org/ > I still do not have perl 6 support on rhel 7.2 Don't know how much of an "early adopter" you want to be- if that's an option, try building Rakudo from source, so

Re: perl 5?

2016-11-16 Thread Jan Ingvoldstad
On Thu, Nov 17, 2016 at 8:08 AM, ToddAndMargo <toddandma...@zoho.com> wrote: > Hi All, > > Would you guys tolerate a perl 5 question every so often? > > Perl 5 questions that relate to Perl 6 would probably be on topic. If what you want is help with Perl 5 for Perl 5's s

perl 5?

2016-11-16 Thread ToddAndMargo
Hi All, Would you guys tolerate a perl 5 question every so often? -T I still do not have perl 6 support on rhel 7.2 -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

Re: rakudo bug 128427 perl 5 does not build on Darwin platforms with clock_gettime

2016-11-15 Thread Andy Bach
>> so I copied git_reference/MoarVM/src/platform/posix/time.c >> to moar-nom/nqp/MoarVM/src/platform/posix/time.c >> and now it builds. On Tue, Nov 15, 2016 at 12:15 PM, Tobias Leich wrote: > Hi, if you let raukdo automatically rebuild nqp/moar, then you still were > on an

Re: rakudo bug 128427 perl 5 does not build on Darwin platforms with clock_gettime

2016-11-15 Thread Tobias Leich
Hi, if you let raukdo automatically rebuild nqp/moar, then you still were on an old revision of moarvm. This revision did not contain the latest patch. Please rebuild now, as I've updated the git revisions, so latest nqp and moarvm get build. Am 15.11.2016 um 18:14 schrieb Brandon Allbery:

Re: rakudo bug 128427 perl 5 does not build on Darwin platforms with clock_gettime

2016-11-15 Thread Brandon Allbery
On Tue, Nov 15, 2016 at 8:53 AM, Andy Bach wrote: > > Well, I just nuked and built moar-nom here OSX 10.11.6/Xcode 8 > This is not a MoarVM problem; it's a bug in the Xcode 8 (and 8.1) Command Line Tools and documented (poorly) in the Xcode 8 release notes. You must download

Re: rakudo bug 128427 perl 5 does not build on Darwin platforms with clock_gettime

2016-11-15 Thread Andy Bach
oar-nom/nqp/MoarVM/src/platform/posix/time.c On Tue, Nov 15, 2016 at 6:23 AM, wrote: > Hi, we addressed it here Well, I just nuked and built moar-nom here OSX 10.11.6/Xcode 8 15.6.0 Darwin Kernel Version 15.6.0: Wed Nov 2 20:30:56 PDT 2016;

Re: rakudo bug 128427 perl 5 does not build on Darwin platforms with clock_gettime

2016-11-15 Thread email
Hi, we adressed it here: https://github.com/MoarVM/MoarVM/commit/20c8591ad7644926e09691da8c2a9179b11ac53e Zitat von Andy Bach : Hi, Turns out this bug was filed for p5 (I thought I was looking at the p6 bug list) but I saw this exactly today, trying to build, via

rakudo bug 128427 perl 5 does not build on Darwin platforms with clock_gettime

2016-11-14 Thread Andy Bach
Hi, Turns out this bug was filed for p5 (I thought I was looking at the p6 bug list) but I saw this exactly today, trying to build, via rakudobrew, on my mac book. Just checking if this is a known thing or not. -- a Andy Bach, afb...@gmail.com 608 658-1890 cell 608 261-5738 wk

Re: [BUG] Perl 6 text file line read is much slower than Perl 5

2016-10-22 Thread Tom Browder
On Saturday, October 22, 2016, Elizabeth Mattijsen via RT < perl6-bugs-follo...@perl.org> wrote: > Would you believe it used to be a lot slower still? > > Anyways, what does P6/P5 mean?? If it’s the runtimes divided, I get > values between 9 and 10 or so. Which would be less surprising to me.

Re: [perl #129941] [BUG] Perl 6 text file line read is much slower than Perl 5

2016-10-22 Thread Elizabeth Mattijsen
6-read-write-tests> for a suite > of tests that show the differences. > > For example (from the link above): > > Results of recent file read tests > > Date | Rakudo Version | File Size (lines) | Perl 5 > RT | Perl 6 RT | P6/P5 >

[perl #129941] [BUG] Perl 6 text file line read is much slower than Perl 5

2016-10-22 Thread via RT
that show the differences. For example (from the link above): Results of recent file read tests Date | Rakudo Version | File Size (lines) | Perl 5 RT | Perl 6 RT | P6/P5 == 2016-10-18 | 2016.10-16-geb6907e |

Re: is there a Perl 5 converter?

2016-01-21 Thread Steve Mynott
s, that at least handles a common subset > of Perl 5 code. I expect having one will be a priority if it isn't around > now. There are at least two source code translators in progress: http://search.cpan.org/dist/Perl-ToPerl6/ https://github.com/Util/Blue_Tiger/ They probably help but I'd

Re: is there a Perl 5 converter?

2016-01-21 Thread Bruce Gray
t;> If you mean a source code translator, I don't know of one right now but I >> wouldn't be surprised if one exists, that at least handles a common subset >> of Perl 5 code. I expect having one will be a priority if it isn't around >> now. > > There are at least two s

Re: is there a Perl 5 converter?

2016-01-21 Thread Tom Browder
o's website is down. > > ( For manual translation, read all of the 5to6-* docs at the top of > http://docs.perl6.org/language.html , or email me ). > > Below, I have a terminal log of installation and execution of both > translators. .. Perl 5 source == > my @aaa

Re: is there a Perl 5 converter?

2016-01-21 Thread Aaron Baugher
Tom Browder <tom.brow...@gmail.com> writes: > Perl 5 source > == >> my @aaa = qw( a b c d e f g ); >> for my $c (@aaa) { > > Perl::ToPerl6 > = >> my @aaa = qw ( a b c d e f g ); >> for (@aaa) -> $c { > > Blue_Tiger > ==

Re: is there a Perl 5 converter?

2016-01-21 Thread Tom Browder
On Thu, Jan 21, 2016 at 12:00 PM, Aaron Baugher <aa...@baugher.biz> wrote: > Tom Browder <tom.brow...@gmail.com> writes: ... >> For the example Perl 5 input I like the Blue_Tiger translation, except >> I haven't so far found an description of the '<->' operator

Re: is there a Perl 5 converter?

2016-01-21 Thread Aaron Baugher
Tom Browder writes: > Thanks, Aaron, good explanation. But can you find a description of > '<->' in the Perl 6 docs? It's mentioned here: https://doc.perl6.org/language/control#for And here, where it's called the "double-ended arrow", though I don't know how official

Re: is there a Perl 5 converter?

2016-01-21 Thread Patrick R. Michaud
On Thu, Jan 21, 2016 at 01:39:15PM -0600, Aaron Baugher wrote: > Tom Browder writes: > > > Thanks, Aaron, good explanation. But can you find a description of > > '<->' in the Perl 6 docs? > > It's mentioned here: https://doc.perl6.org/language/control#for > > And here,

Re: is there a Perl 5 converter?

2016-01-21 Thread Tom Browder
On Thu, Jan 21, 2016 at 1:39 PM, Aaron Baugher wrote: > Tom Browder writes: > >> Thanks, Aaron, good explanation. But can you find a description of >> '<->' in the Perl 6 docs? > > It's mentioned here: https://doc.perl6.org/language/control#for ... > I

Re: is there a Perl 5 converter?

2016-01-20 Thread Darren Duncan
On 2016-01-20 5:02 PM, ToddAndMargo wrote: or is it all by hand? If you mean a source code translator, I don't know of one right now but I wouldn't be surprised if one exists, that at least handles a common subset of Perl 5 code. I expect having one will be a priority if it isn't around now

is there a Perl 5 converter?

2016-01-20 Thread ToddAndMargo
or is it all by hand? -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~

Re: Workaround for Perl 5's __DATA__

2016-01-18 Thread Tom Browder
On Mon, Jan 18, 2016 at 6:47 AM, Kamil Kułaga wrote: > You may be happy with =finish block ... Thanks, Kamil! -Tom

Re: Workaround for Perl 5's __DATA__

2016-01-18 Thread Kamil Kułaga
You may be happy with =finish block use v6; say $=finish.split("\n").perl; =finish _ I like pancakes And apples On Sat, Jan 16, 2016 at 8:07 PM, Tom Browder wrote: > I have tried this in my Perl 6 code (v6.c): > > =begin DATA > blah > blah2 >

Workaround for Perl 5's __DATA__

2016-01-16 Thread Tom Browder
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

Re: What are Perl 6's killer advantages over Perl 5?

2015-09-03 Thread Jan Ingvoldstad
e 'use strict;' is good enough for those cases when you really need to be strict in one-off scripts. Specifying -E instead of -e to do the same seems a good way to confuse people, considering the apparent similarity to the Perl 5 options. There are only so many context switches a human brain

Re: What are Perl 6's killer advantages over Perl 5?

2015-09-03 Thread Matija Papec
02.09.2015, 16:42, "Robert Strahl via perl6-users" : >  I don't understand why some people feel so strongly that one-liners should > be strict. That would undermine what a one-liner is — a quick way to get > something done. I use perl5 one-liners very frequently for text

Re: What are Perl 6's killer advantages over Perl 5?

2015-09-02 Thread Robert Strahl via perl6-users
to disable it. > > > > 28.08.2015, 17:48, "Carl Mäsak" <cma...@gmail.com>: > > Moritz (>>), Tux (>): > >>> I could continue with other Perl 5 deficiencies (no strict by default, > >> > >> Using strict *STILL* is not

Re: What are Perl 6's killer advantages over Perl 5?

2015-09-01 Thread Matija Papec
, so perl6 -e 'no strict; ..' is to my knowledge only option to disable it. 28.08.2015, 17:48, "Carl Mäsak" <cma...@gmail.com>: > Moritz (>>), Tux (>): >>>  I could continue with other Perl 5 deficiencies (no strict by default, >> >>  Using s

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-31 Thread Marc Chantreux
On Fri, Aug 28, 2015 at 05:48:07PM +0200, Carl Mäsak wrote: > Good news! I just pushed a change (with backing from other core > developers) that makes -e strict by default! awesome! thank you Carl! -- Marc Chantreux (eiro on github and freenode) http://eiro.github.com/

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-28 Thread Carl Mäsak
Moritz (), Tux (): I could continue with other Perl 5 deficiencies (no strict by default, Using strict *STILL* is not enabled by default for perl6 one-liners either: $ perl6 -e'my Int $this = 1; $thıs++; say $this;' 1 $ perl6 -Mstrict -e'my Int $this = 1; $thıs++; say $this;' ===SORRY

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-28 Thread yary
...@gmail.com wrote: Moritz (), Tux (): I could continue with other Perl 5 deficiencies (no strict by default, Using strict *STILL* is not enabled by default for perl6 one-liners either: $ perl6 -e'my Int $this = 1; $thıs++; say $this;' 1 $ perl6 -Mstrict -e'my Int $this = 1; $thıs++; say

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-27 Thread yary
On Thu, Aug 27, 2015 at 4:45 AM, Marc Chantreux kha...@phear.org wrote: complete different usage but it would be nice to have a flag for use strict both in perl5 and 6 /me nominates -W as a bigger -w .. oh wait, -W already exists as a depreciated-in-my-view perl5 flag. In that case, I also like

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-27 Thread David H. Adler
for info (not that, at the moment, they necessarily *are* more correct/reliable - work in progress and all...). All that said, there doesn't, at a quck glance, seem to be any equivalent to Perl 5's perlrun document, which would detail the command line flags. Maybe I'll take a shot at something

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-27 Thread Marc Chantreux
On Wed, Aug 26, 2015 at 02:00:09PM -0400, Brandon Allbery wrote: It used to be, but that was not according to spec. FROGGS++ implemented the lax mode, which is enabled by default in one-liners. Perhaps TimToady wants to invoke rule #2 on this. Personally, I use an alias that has ‘-M

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread Brandon Allbery
On Wed, Aug 26, 2015 at 1:58 PM, Elizabeth Mattijsen l...@dijkmat.nl wrote: It used to be, but that was not according to spec. FROGGS++ implemented the lax mode, which is enabled by default in one-liners. Perhaps TimToady wants to invoke rule #2 on this. Personally, I use an alias that has

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread Elizabeth Mattijsen
On 26 Aug 2015, at 12:18, H.Merijn Brand h.m.br...@xs4all.nl wrote: On Wed, 26 Aug 2015 10:26:23 +0200, Moritz Lenz mor...@faui2k3.org wrote: I could continue with other Perl 5 deficiencies (no strict by default, Using strict *STILL* is not enabled by default for perl6 one-liners

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread H.Merijn Brand
On Wed, 26 Aug 2015 10:26:23 +0200, Moritz Lenz mor...@faui2k3.org wrote: I could continue with other Perl 5 deficiencies (no strict by default, Using strict *STILL* is not enabled by default for perl6 one-liners either: $ perl6 -e'my Int $this = 1; $thıs++; say $this;' 1 $ perl6 -Mstrict

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread Tom Browder
On Wed, Aug 26, 2015 at 3:26 AM, Moritz Lenz mor...@faui2k3.org wrote: Hi, On 11.08.2015 14:12, Tom Browder wrote: I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread Moritz Lenz
Hi, On 11.08.2015 14:12, Tom Browder wrote: I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users (already using the latest Perl 5

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread Marc Chantreux
On Wed, Aug 26, 2015 at 12:18:46PM +0200, H.Merijn Brand wrote: $ perl6 -e'my Int $this = 1; $thıs++; say $this;' 1 $ perl6 -Mstrict -e'my Int $this = 1; $thıs++; say $this;' ===SORRY!=== Error while compiling -e Variable '$thıs' is not declared. Did you mean '$this'? at -e:1 -- my Int

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread H.Merijn Brand
On Tue, 11 Aug 2015 21:41:21 -0400, David H. Adler d...@pobox.com wrote: The reason for my request is to help with a better introduction in my modest draft tutorial on converting Perl 5 to Perl 6 code at the Perl Monastery. I am comfortable with the example code I use there (which

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Tom Browder
On Wed, Aug 12, 2015 at 4:02 AM, Kamil Kułaga teodoz...@gmail.com wrote: One thing that was not mentioned already is using Rat instead of standard floating point number. It prevents many silly mistakes especially when counting money. Thanks, Kamil. -Tom

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Tom Browder
On Tue, Aug 11, 2015 at 6:41 PM, Andrew Kirkpatrick uberm...@gmail.com wrote: Built-in facilities for the language to parse, transform and extend ... Thanks, Andrew. -Tom

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Tom Browder
On Wed, Aug 12, 2015 at 2:00 AM, H.Merijn Brand h.m.br...@xs4all.nl wrote: On Tue, 11 Aug 2015 21:41:21 -0400, David H. Adler d...@pobox.com ... *THE* killer feature that will be seen by all beginning perl6 programmers is its awesome error messages. It is a shame that ... Thanks! -Tom

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Kamil Kułaga
5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users (already using the latest Perl 5, Moose, etc.) on the value of Perl 6, what should be on the important feature list? For me, stronger

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Fagyal Csongor
Hi, On Tue, Aug 11, 2015 at 07:12:00AM -0500, Tom Browder wrote: I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users (already

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Tom Browder
On Tue, Aug 11, 2015 at 8:45 PM, Fagyal Csongor csongor.fag...@kepesmedia.com wrote: On Tue, Aug 11, 2015 at 07:12:00AM -0500, Tom Browder wrote: I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value

What are Perl 6's killer advantages over Perl 5?

2015-08-11 Thread Tom Browder
I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users (already using the latest Perl 5, Moose, etc.) on the value of Perl 6, what

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-11 Thread Andrew Kirkpatrick
, Tom Browder tom.brow...@gmail.com wrote: I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users (already using the latest Perl 5

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-11 Thread David H. Adler
On Tue, Aug 11, 2015 at 07:12:00AM -0500, Tom Browder wrote: I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users (already using

[perl6/specs] 1a6957: Changed equivalent of Perl 5's $0 from C$*PROGRAM...

2015-06-21 Thread GitHub
paths: M S28-special-names.pod Log Message: --- Changed equivalent of Perl 5's $0 from C$*PROGRAM to C$*PROGRAM_NAME

Perl 5's $0 vs. Perl 6's $*EXECUTABLE_NAME

2015-05-30 Thread Tom Browder
I finally found the Perl 6 version of Perl 5's $0 listed in: tablets.perl6.org/appendix-b-grouped.html#special-variables as '$*EXECUTABLE_NAME', and I expected it to act the same as $0 in Perl 6, but I have two problems with it: 1. When used it yields 'perl6' regardless of the script's name

Re: Perl 5's $0 vs. Perl 6's $*EXECUTABLE_NAME

2015-05-30 Thread Paul Cochrane
On 30 May 2015 3:00:25 pm GMT+02:00, Tom Browder tom.brow...@gmail.com wrote: I finally found the Perl 6 version of Perl 5's $0 listed in: tablets.perl6.org/appendix-b-grouped.html#special-variables as '$*EXECUTABLE_NAME', and I expected it to act the same as $0 in Perl 6, but I have two

Re: Perl 5's $0 vs. Perl 6's $*EXECUTABLE_NAME

2015-05-30 Thread Tobias Leich
Please also take a look at $*EXECUTABLE, $*PROGRAM and $*PROGRAM_NAME. Am 30.05.2015 um 15:00 schrieb Tom Browder: I finally found the Perl 6 version of Perl 5's $0 listed in: tablets.perl6.org/appendix-b-grouped.html#special-variables as '$*EXECUTABLE_NAME', and I expected it to act

Re: Perl 5's $0 vs. Perl 6's $*EXECUTABLE_NAME

2015-05-30 Thread Tom Browder
On Sat, May 30, 2015 at 8:30 AM, Tobias Leich em...@froggs.de wrote: Please also take a look at $*EXECUTABLE, $*PROGRAM and $*PROGRAM_NAME. Tobias, I didn't find $*PROGRAM in the doc listed by Paul: http://doc.perl6.org/language/variables#Special_Variables Also, the following were not in:

Re: Perl 5's $0 vs. Perl 6's $*EXECUTABLE_NAME

2015-05-30 Thread Paul Cochrane
Hi Tom, On Sat, May 30, 2015 at 09:03:17AM -0500, Tom Browder wrote: On Sat, May 30, 2015 at 8:30 AM, Tobias Leich em...@froggs.de wrote: Please also take a look at $*EXECUTABLE, $*PROGRAM and $*PROGRAM_NAME. Tobias, I didn't find $*PROGRAM in the doc listed by Paul:

Re: Perl 5's $0 vs. Perl 6's $*EXECUTABLE_NAME

2015-05-30 Thread Tom Browder
one of the group I found in Synopsis 28 (Special names). In S28 I did find the Perl 5 to Perl 6 translation table in which I had overlooked $0 before. -Tom

Re: Perl 5's $0 vs. Perl 6's $*EXECUTABLE_NAME

2015-05-30 Thread Moritz Lenz
Hi, On 05/30/2015 04:36 PM, Paul Cochrane wrote: Thanks for pointing out the $*PROGRAM omission! I've just added it to the list of special variables and it should be available online within the next 10-15 minutes. Minor nit pick: according to the last log on http://doc.perl6.org/build-log/

[perl #119293] Rakudo doesn't warn about Perl 5 $]

2015-02-16 Thread Will Coleda via RT
On Mon Oct 06 04:01:24 2014, barto...@gmx.de wrote: Unfortunately the error message is only Unexpected closing bracket now: 13:00 bartolin r: say $] 13:00 +camelia rakudo-{parrot,moar} 65819d: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Unexpected closing bracket␤at

Re: External call like Capture::Tiny of Perl 5 ?

2015-01-03 Thread Gabor Szabo
thanks I tried to describe what I know so far: http://perl6maven.com/tutorial/running-external-commands-from-perl6 Gabor On Fri, Jan 2, 2015 at 4:44 PM, Tobias Leich em...@froggs.de wrote: This is in discussion right now, and since the recent pipe() addition, we have another bit

Re: External call like Capture::Tiny of Perl 5 ?

2015-01-02 Thread Tobias Leich
This is in discussion right now, and since the recent pipe() addition, we have another bit implemented to actually make your proposal work. Though, we've not yet decided where we want to go, how one opens such a pipe or captures stdout/err, or does redirections of said handles... I hope we can

External call like Capture::Tiny of Perl 5 ?

2015-01-02 Thread Gabor Szabo
I see there are 'run' and 'shell' functions that return the exit status in Proc::Status, and QX that returns the output. Wouldn't it be better to have a function the returns and object that contains both the status, the stdout and the stderr? e.g. extending Proc::Status to be able to hold those

[perl #73790] [BUG] Rakudo doesn't accept several -e options (but Perl 5 does)

2014-11-19 Thread Christian Bartolomaeus via RT
Recently there was a change in the S19-commandline design document (https://github.com/perl6/specs/commit/8f8c84034c) and now -e program stops option processing. So the following is now expected behaviour $ perl6 -e 'print OH HAI\n;' -e 'print OH BAI BAI\n' OH HAI $ perl6 -e 'say @*ARGS' -e

[perl #119293] Rakudo doesn't warn about Perl 5 $]

2014-10-06 Thread Christian Bartolomaeus via RT
Unfortunately the error message is only Unexpected closing bracket now: 13:00 bartolin r: say $] 13:00 +camelia rakudo-{parrot,moar} 65819d: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Unexpected closing bracket␤at /tmp/tmpfile:1␤-- say $⏏]

[perl #119293] Rakudo doesn't warn about Perl 5 $]

2014-02-24 Thread Will Coleda via RT
On Wed Aug 14 14:39:07 2013, lue wrote: lue r: say $] camelia rakudo c0814a: OUTPUT«===SORRY!=== Error while compiling /tmp/bQ267__iqC␤Non-declarative sigil is missing its name␤at /tmp/bQ267__iqC:1␤-- say ⏏$]␤ expecting any of:␤ argument list␤ prefix or term␤ prefix or meta-prefix␤»…

  1   2   3   4   >