Re: Fwd: perl6 INC

2016-06-05 Thread Bennett Todd
Thanks, very much. That talk inspired unhappiness in me, and I've even written my thoughts out, but as all I've got is an unconstructive rant, I'm keeping it as an inspiration until I can offer my own perl6 package manager that suits my prejudices. A sample of one: if the problem is that

Re: perl6 INC

2016-05-11 Thread Bennett Todd
Agreed. I too found panda didn't successfully install, so I just switched from rakudo-star to rakudo, and I use zef. This package looks like it tries to build rakudo-star, panda doesn't, it installs what bits succeed, and quietly ignores those that don't. I think the packager should work from

Re: Fwd: perl6 INC

2016-05-11 Thread Bennett Todd
I think you're right, and the rpm packaging of perl5 is rather similar -- but simpler, as there aren't the bifurcations into moarvm vs jvm, and panda vs zef. But perl6 is young yet. Happily, it's not too hard to package a single compiler, e.g. rakudo-moar. And as long as you're comfy with

Re: Fwd: perl6 INC

2016-05-11 Thread Bennett Todd
I never got panda to install, so I use zef. The only module I've installed was Readline, to shut up the blind nagging whenever I run perl6 for a repl. Zef seems to have left files containing the string Readline in share/perl6/site, plus .perl6/precomp. The filenames are hashes, perhaps from a

Re: Fwd: perl6 INC

2016-05-11 Thread Bennett Todd
Thanks for the explanation. Sounds like an unfortunate situation, rather than letting the system admin choose modules within the limits of filesystem namespace, it's using a separate database, opaque to filesystem tools. I hope this is just a temporary hack until a mature solution is hammered

Building perl6 on Android in Gnuroot Debian : perl6

2016-04-17 Thread Bennett Todd
https://www.reddit.com/r/perl6/comments/4f6jx5/building_perl6_on_android_in_gnuroot_debian/ TLDR: LDFLAGS=-Wl,-z,noexecstack And then zef install --force Readline Moarvm wants to try to execute code off the stack, but doesn't have to. Android blocks attempts to execute code on the stack with

Re: Net::SMTP attachments?

2017-03-01 Thread Bennett Todd
Well, tastes can reasonably differ on that point. Bunging all of the complexity, of implementation, of design tradeoffs, and of documentation, into one big module might suit some tastes. Not mine, as either an implementor or a user. Not all uses need all components, and I for myself would

Re: Fwd: Re: grammars and indentation of input

2016-09-13 Thread Bennett Todd
Hostile or not, thanks for your informative reply.

Re: Fwd: Re: grammars and indentation of input

2016-09-13 Thread Bennett Todd
Thank you, very much. Yes, I'm disappointed, but I'd rather know.

Re: Fwd: Re: grammars and indentation of input

2016-09-13 Thread Bennett Todd
Well put. The clearest description of Python's approach I've read, explained it as a lexer that tracked indentation level, and inserted appropriate tokens when it changed.

Re: Fwd: Re: grammars and indentation of input

2016-09-13 Thread Bennett Todd
Having the minutia of the programmatic run-time state of the parse then influence the parse itself, is at the heart of the perl5 phenomenon "only Perl can parse perl", which I rather hope isn't going to be preserved in perl6.

Re: can Perl 6 bootstrap itself

2016-08-23 Thread Bennett Todd
I think that would be great. Also lovely if it were completely correct, which I think is perhaps the biggest focus now, or nice and compact and fast, which still has a way to go. Many lovely goals to enjoy working on.

Re: can Perl 6 bootstrap itself

2016-08-25 Thread Bennett Todd
Figuring out the environment, and how to best fit into it, is tricky, wants a richly powerful programming language, like perl. Ideally one that's almost certainly already available. Someday, Perl6 will be that language.

Re: can Perl 6 bootstrap itself

2016-08-25 Thread Bennett Todd
Bootstrapping is funny that way. Besides the tools in the environment, you've got to have at least 1GB RAM available to build perl6. I can compile it within the Gnuroot Debian app on my Nexus 5, which has 2GB total real ram, so it has enough even inside the Android app. I can't similarly

Re: can Perl 6 bootstrap itself

2016-08-24 Thread Bennett Todd
Actually, now that I think about it, I'm not as sure. Maybe, eventually, a full perl6 compiler and runtime written entirely in perl6 might, possibly, be nice; but using, and interoperating with, existing mature tools like e.g. make and gcc has some big advantages, too.

Re: Need sub for `LWP::UserAgent`

2017-07-28 Thread Bennett Todd
I just googled perl6 libcurl, and got https://github.com/CurtTilmes/perl6-libcurl That's definitely where I'd start.

Re: Need sub for `LWP::UserAgent`

2017-07-28 Thread Bennett Todd
As for LWP being a pain, I see it differently, filling the specs for a web client --- many specs --- is a pain. The curl project is trying to wrap a blanket around that pain.

Re: Need sub for `LWP::UserAgent`

2017-07-28 Thread Bennett Todd
Thank you! I'd have hated for my echo of your knowledge to be the only tip he got, and you included a pointer to the option he needed, which I didn't try from my phone:-)

Re: Perl 6 ignores SIGPIPE

2017-06-16 Thread Bennett Todd
I think it'd be cool to notice, and properly report, write errors, rather than silently ignoring them. Back when lwall was asking for things we wanted perl6 to do, I asked to be able to wrap builtins specifically so I could use Fatal qw(print). Yes, perl5 often ignores write errors, but no, I

Re: bash and pm6 question

2017-09-21 Thread Bennett Todd
With perl5, that could have been something like. "perl -Mmy -e ...", but I don't have access to a perl6 at this instant to compare. There should be a flag you can use to include a module into the.running environment before evaluating the "-e" code. Using "use" within the "-e" string should

Re: Tip: hash indexing

2017-10-03 Thread Bennett Todd
I'd like to note that Hash tables don't preserve the order they're created, and that this isn't a perl6 thing, this is intrinsic to the definition of hash tables. On October 3, 2017 9:06:47 AM EDT, Andrew Kirkpatrick wrote: >Thanks, your script enticed me to explore