Re: An interesting math formula to share

2018-07-10 Thread Thomas Klausner
Hi!

On Tue, Jul 10, 2018 at 02:02:45AM -0700, ToddAndMargo wrote:
 
> Remembering from my school days, a famous mathematician
> whose name I forget came up with a formula as a kid
> that made math history.

https://en.wikipedia.org/wiki/Carl_Friedrich_Gauss

greetings,
domm

-- 
#!/usr/bin/perl  http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&$_.$/}


Re: need second pair of eyes

2018-06-04 Thread Thomas Klausner
Hi!

On Sun, Jun 03, 2018 at 03:05:33PM -0700, ToddAndMargo wrote:
> On 06/03/2018 02:54 PM, Brad Gilbert wrote:

> > But in this case it is even better to use -I and -M
> > 
> >  p6 -I. -MRunNoShell -e '( my $a, my $b ) =
> >   RunNoShell::RunNoShell("ls *.pm6"); say $a;'
> 
> $ perl6 -I -MRunNoShell '( my $a, my $b ) = RunNoShell::RunNoShell("ls
> \*.pm6"); say $a;'

You forgot
  -e

to tell p6 to eval the following string

Greetings,
domm

-- 
#!/usr/bin/perl  http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&$_.$/}


Re: odd and even

2018-05-04 Thread Thomas Klausner
Hi!

On Mon, Apr 30, 2018 at 02:23:44AM -0700, ToddAndMargo wrote:
 
> So, the main issue I have with the docs is that they
> "seem" to be written as a refresher for an advanced use
> and not as a trainer for a newbie.

I guess that's because the docs are meant as a reference, and not as a 
tutorial. AFAIK there are several good Perl6 tutorial-style books 
available, and presumably also some online tutorial.

Greetings,
domm

-- 
#!/usr/bin/perl  http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&$_.$/}


Re: need s/ help

2018-05-01 Thread Thomas Klausner
Hi!

On Tue, May 01, 2018 at 04:03:24PM +, Fernando Santagata wrote:
> I guess there are more ways to do that than I can count :-)

Which reminds me of http://paris.mongueurs.net/aplusplus.html

Greetings,
domm

-- 
#!/usr/bin/perl  http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&$_.$/}