RE: Perl6 use cases

2018-11-05 Thread Mark Devine
N6Ghost, I use Perl 6 exclusively now for "systems" work. - SSH commands to 500 systems to gather their info using promises/supplies/channels - make Perl 6 modules for cantankerous system management utilities, then write scripts that use my .pm6 modules for various purposes

RE: Could this be any more obscure?

2018-09-28 Thread Mark Devine
I guess I’m extra impressed with esoteric linguistic references. Your replies were concise and I understood them pretty quickly. Mark From: Brandon Allbery Sent: Friday, September 28, 2018 21:51 To: Mark Devine Cc: la...@wall.org; ToddAndMargo ; perl6-users Subject: Re: Could this be any

RE: Could this be any more obscure?

2018-09-28 Thread Mark Devine
Kudos to the Benevolent Dictator! I'll have to loop over this a few times, but it's a blast... Mark -Original Message- From: Larry Wall Sent: Friday, September 28, 2018 21:28 To: ToddAndMargo Cc: perl6-users@perl.org Subject: Re: Could this be any more obscure? On Fri, Sep 28, 2018

RE: Please explain this to me

2018-09-16 Thread Mark Devine
I get it. Different angles of approach. Some methods don't make a dent with me (I.e. rote). Mark -Original Message- From: ToddAndMargo Sent: Sunday, September 16, 2018 21:42 To: perl6-users@perl.org Subject: Re: Please explain this to me On 09/16/2018 06:23 PM, Mark Devine wrote

RE: Please explain this to me

2018-09-16 Thread Mark Devine
foy, brian d. Learning Perl 6: Keeping the Easy, Hard, and Impossible Within Reach (Kindle Location 557). O'Reilly Media. Kindle Edition. Chapter 2: Binding and Assignment: "There’s an important concept here that you should learn early." [[ what follows in the most concise and understandable

RE: RFE: contains documentation

2018-09-07 Thread Mark Devine
I second that nod. Learning Perl 6 is fixing up all kinds of my errant mental models. Just what I needed. Mark From: Curt Tilmes Sent: Friday, September 7, 2018 21:25 To: Todd Chester Cc: perl6-users Subject: Re: RFE: contains documentation On Fri, Sep 7, 2018 at 8:58 PM ToddAndMargo

RE: Perl6 POSIX IEEE Std 1003.1

2018-08-14 Thread Mark Devine
POSIX IEEE Std 1003.1 Thank you. Please let me know if you miss anything and/or find any problems. For myself, I’ve hardly had any use for these modules so they’re probably undertested. Liz > On 14 Aug 2018, at 22:15, Mark Devine wrote: > > Wow. Glad I asked… > > Than

RE: Perl6 POSIX IEEE Std 1003.1

2018-08-14 Thread Mark Devine
Wow. Glad I asked… Thank you Elizabeth Mattijsen! We’ll benefit greatly from your industrious work. Mark From: JJ Merelo Sent: Tuesday, August 14, 2018 17:01 To: Mark Devine ; perl6-users Subject: Re: Perl6 POSIX IEEE Std 1003.1 Many of them are already in the ecosystem as part

Perl6 POSIX IEEE Std 1003.1

2018-08-14 Thread Mark Devine
Perl6 Users, The POSIX module in the ecosystem (https://github.com/cspencer/perl6-posix) implements a few commonly used subs from POSIX IEEE Std 1003.1 in a single file, which I found useful. I wanted to use more of these so I coded a few simple subroutines with NativeCall for my own use.

RE: return code?

2018-08-09 Thread Mark Devine
and sort out each Proc::Async’s $*OUT and $*ERR without line noise. For version 0.0.2 I hardcoded a throttle of 16 threads after graphing performance on a 4 x Linux VM – seems safe yet efficient. Criticisms & suggestions always welcome by Perl6 mentors. Thanks, Mark From: Mark Devine

RE: return code?

2018-07-28 Thread Mark Devine
Todd, I see that you’re frequently running commands in your code like me. I was looking for a reliable reusable approach for commands for a long time. I’m still learning & not quite ready to step up to contribute to the ecosystem yet (https://docs.perl6.org/language/modules.html). After

Perl 6: Protecting Intellectual Property for Commercial Code

2017-10-22 Thread Mark Devine
Perl 6 Users, [[ Bouncing off Re: who own my code? ]] This is the first of several possible spin-off questions, but here goes… Perl 6 has its public ecosystem, which will drive growth and adoption. Then there’s the commercial side, which would also drive the language from another important

RE: Perl 6 Object Construction - General Advice

2017-10-05 Thread Mark Devine
Perl 6 (Timo), In terms of new() uses… I’ve seen a clever use of new() that goes beyond turning ‘positionals’ into ‘named’ in https://github.com/retupmoca/P6-Net-SMTP/blob/master/lib/Net/SMTP.pm6. It wraps methods for debugging. Pretty great, imo. In terms of this thread’s subject… I am

RE: Perl 6 Object Construction - General Advice

2017-10-05 Thread Mark Devine
- From: Timo Paulssen [mailto:t...@wakelift.de] Sent: Thursday, October 5, 2017 13:56 To: Mark Devine <m...@markdevine.com>; perl6-users@perl.org Subject: Re: Perl 6 Object Construction - General Advice The main difference between BUILD and TWEAK is that BUILD will replace all d

Perl 6 Object Construction - General Advice

2017-09-30 Thread Mark Devine
Perl 6, I am preparing to write several classes for some Perl 6 apps I intend to craft in support of a prominent backup suite. In looking at the documentation & some of the modules published in the Perl 6 ecosystem, I’m not quite sure that I can identify the best idiomatic object construction

RE: String to array problem

2017-07-16 Thread Mark Devine
$y[3] = 'Moe Curly Larry'; > > Any words of wisdom? > > Many thanks, > -T > On 07/16/2017 05:16 PM, Mark Devine wrote: > T, > > my $x = 'ls -al "Program Files" "Moe Curly Larry"'; > ~($x ~~ m:g

RE: String to array problem

2017-07-16 Thread Mark Devine
rgo [mailto:toddandma...@zoho.com] Sent: Sunday, July 16, 2017 8:35 PM To: perl6-users <perl6-users@perl.org> Subject: Re: String to array problem On 07/16/2017 05:16 PM, Mark Devine wrote: > T, > > my $x = 'ls -al "Program Files" "Moe Curly Larry"'; my @y = ~($x ~~

RE: String to array problem

2017-07-16 Thread Mark Devine
T, my $x = 'ls -al "Program Files" "Moe Curly Larry"'; my @y = ~($x ~~ m:global/ [ '"' <-[ " ]> * '"' | \S+ ] /); Mark Devine -Original Message- From: ToddAndMargo [mailto:toddandma...@zoho.com] Sent: Sunday, July 16, 2017 7:41 PM To: perl6-use