Slightly more idiomatic might be `next unless $line`.
On Tue, May 15, 2018 at 7:39 PM ToddAndMargo wrote:
> On 05/15/2018 04:34 PM, ToddAndMargo wrote:
> > On 05/15/2018 03:49 PM, Larry Wall wrote:
> >> On Tue, May 15, 2018 at 03:31:07PM -0700, ToddAndMargo wrote:
> >> :
Maybe a list/array of pairs would be better, and then cast it to a hash if
you need to do fast lookups.
On Sep 30, 2017 12:41 PM, "Parrot Raiser" <1parr...@gmail.com> wrote:
> Prepending the real key value with an order indicator, then sorting
> the retrieved list on the key would achieve that,
How about qx and qxx? I guess those don't separate/capture stderr, and
don't separate out the params.
--Brock
On Thu, Aug 10, 2017 at 10:57 AM, Gabor Szabo <szab...@gmail.com> wrote:
> The documentation has a nice example showing how to run an external
> program and how to ge
# postfix. This used to work but maybe doesn't now
dice[ 2d6 ] # circumfix
And then the third thing that comes to mind is adding a slang, though that
is, I believe, the least stable language-level approach. Dunno.
--Brock
On Thu, Aug 10, 2017 at 7:16 AM, Simon Proctor <simon.proc...@gmail.com&
really well, and likely to do that in
userspace as a regular module. Moving everything into REPL.pm (perl6
instead of nqp) lets us use de-facto interfaces and easily override it in a
user module.
--Brock
On Wed, May 31, 2017 at 9:05 AM, Parrot Raiser <1parr...@gmail.com> wrote
h the assignment.
--Brock
On Mon, Mar 13, 2017 at 3:56 PM, Sean McAfee <eef...@gmail.com> wrote:
> sub one-thing { return ("hi",) }
= color('reset');
print ( $Red ~ "--Red--" ~ $Reset ~ "\n\n" );
You can also refer to this function with Term::ANSIColor::color(...).
--Brock
On Sat, Mar 4, 2017 at 1:15 AM, ToddAndMargo <toddandma...@zoho.com> wrote:
> Hi All,
>
> I am trying to write mysel
Also http://perldoc.perl.org/perlsub.html#Signatures for perl5 signatures.
Use it everywhere! Promote it to be on by default! Go team!
On Sun, Feb 12, 2017 at 8:12 PM, Darren Duncan
wrote:
> On 2017-02-12 5:08 PM, ToddAndMargo wrote:
>
>> I presume my eyes would tell
It seems like Moose vs built-in-oop/mop is a very indirect comparison. Now
I'm wondering what nqp or moarvm startups are like.
On Oct 3, 2016 06:14, "Elizabeth Mattijsen" wrote:
> > On 02 Oct 2016, at 11:00, Thor Michael Støre
> wrote:
> >
> > Hey
Good feedback.
I just did a similar search in a fresh (incognito) browser with similar,
though not quite as bad, results. All the top things at least are active
and have links to good stuff. I don't know what "SixFix" is, but I signed
up :)
On Wed, Sep 28, 2016 at 8:56 PM, Sayth Renshaw
Quotes are almost a circumfix operator, but they act a bit more like a
macro by controlling the parsing of the contents. But you can do some weird
things like define your own quote-likes.
perl6 -e ' sub circumfix:<>($v) { "{$v}" } ; say B"foo"B ' #
output: foo
or more verbosely
perl6 -e ' sub
Simplification of Rakudo's build process is an ongoing process, and I see
progress all the time.
Remember also that Rakudo is the most active and complete implementation of
Perl 6, but that there can and should be other completely separate
implementations.
On Aug 25, 2016 1:37 PM, "Dipesh
Correct -- there are some excellent REPLs for perl5 such as Devel::REPL and
tinyrepl.
The advantage for Perl 6 will be (but is not yet) it's multi-threaded
friendliness. I am slowly working on the tools to build something like
clojure's nREPL -- a client/server repl where your console, editor,
Right - use parenthesis in colon-pair parameters to get the variable
inside. You could use :database<<$db>> to make it like a double-quoted
string. Or my favorite is to use regular => as in database => $db
--Brock
On May 1, 2016 09:13, "Mathieu Gagnonn" <math...@ga
I recommend putting your module into a 'lib' dir near your script. Then in
your script add:
use lib 'lib';
That way you don't have to add the -l param.
On May 1, 2016 09:21, "Fernando Santagata"
wrote:
> Hello,
>
> I'm trying to write a module and make a program
say "method got $x" } }
> Foo.new.Δ(23)
method got 23
--Brock
On Tue, Apr 12, 2016 at 9:26 AM, Theo van den Heuvel <vdheu...@heuvelhlt.nl>
wrote:
> @Parrot Raiser and @Luca. I will make sure to add Texan alternatives in
> case other people need to take over.
> I use triangle
Maybe try it without the term, just "method funnychar (..."
On Apr 10, 2016 09:23, "Theo van den Heuvel" wrote:
> Hi perl6 fans,
>
> I can use funny characters in operators or in sub names (using
> term:<...>). However, when I try the same thing with an operator as in:
>
>
Yes, that is out of date. I don't know of any existing books or public
efforts to write ones.
We welcome contributions to docs.perl6.org, including tutorials,
walk-throughs, etc (beyond just references). That resource is getting
better, but slowly :)
--Brock
On Thu, Mar 10, 2016 at 3:59 AM
What I mean is that if rakudo 2016.02, 2016.03, etc are released, I can
still do
rakudobrew build moar 2016.01.1
to get the rakudo that is bundled in the Rakudo Star 2016.01 release.
--Brock
On Mon, Feb 8, 2016 at 3:01 AM, Moritz Lenz <mor...@faui2k3.org> wrote:
> On 02/06/2016
lt;allber...@gmail.com>
> wrote:
> > On Thu, Feb 4, 2016 at 7:44 AM, Brock Wilcox <awwa...@thelackthereof.org
> >
> > wrote:
> >>
> >> I see Moritz replied to this also saying that the tarball is the way to
> >> go. I'd love to know what I'm
16.01" and get the exact same thing.
I see Moritz replied to this also saying that the tarball is the way to go.
I'd love to know what I'm missing out on by doing it this way.
--Brock
On Thu, Feb 4, 2016 at 7:26 AM, James E Keenan <jk...@verizon.net> wrote:
> On 02/03/2016 10:48 PM, Br
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
n mostly in Perl6 (lots
of other interesting Perlito stuff)
* http://perl6.org/compilers/features - comparison
* several abandoned ones (e.g. Pugs)
--Brock
Rakudo, as far as I know, passes all of the 6.c tests :). But that might
mean that we need more tests!
On Dec 28, 2015 04:37, "Amir E. Aharoni" wrote:
> My understanding is that the happy and long-awaited release announcement
> was done on Christmas out of tradition of
No substantial rumors that I've heard. I've been contributing to
doc.perl6.org, maybe we can get that good enough to bind :)
On Dec 27, 2015 05:35, "Tom Browder" wrote:
> Thank you Perl 6 devs--what a great Christmas present!
>
> Now I'm looking forward to buying my first
Two things jump out at me. One is that I think you don't need that "new"
method. Second -- yes, this is a very old interpreter. I unfortunately
don't know about the twigil variable constant things.
--Brock
On Thu, Dec 17, 2015 at 9:46 PM, TS xx <maringa...@hotmail.com> wrot
On 2005.02.08.19.07, Matt Fowles wrote:
| Brock~
|
|
| On Tue, 8 Feb 2005 12:08:45 -0700, Brock [EMAIL PROTECTED] wrote:
|
| Hm. I take that back... it was a silly comment to make and not very
| mathematically sound. Sorry.
|
| --Brock
|
| - Forwarded message from Brock [EMAIL
if I missed this discussed previously.
--Brock
Hm. I take that back... it was a silly comment to make and not very
mathematically sound. Sorry.
--Brock
- Forwarded message from Brock [EMAIL PROTECTED] -
Date: Tue, 8 Feb 2005 12:06:58 -0700
From: Brock [EMAIL PROTECTED]
To: Autrijus Tang [EMAIL PROTECTED]
Cc: perl6-language@perl.org
29 matches
Mail list logo