develooper Front page | perl.perl5.porters | Postings from November 2021

Core’s purpose WAS Re: Pre-RFC: support https out-of-the-box

Thread Next
Felipe Gasper
November 25, 2021 15:48
Core’s purpose WAS Re: Pre-RFC: support https out-of-the-box
Message ID:

> On Nov 23, 2021, at 15:46, Dan Book <> wrote:
> On Tue, Nov 23, 2021 at 1:19 PM Ovid via perl5-porters <> wrote:
> One of the issue that I think Perl has is that we our presence is almost entirely in sysadmin tasks and web development. I can't comment on the former, but the latter also requires a few more modules to make Perl more natively useful. If nothing else, a fast JSON tool would be welcome (not the JSON::PP that is in core. That's very slow)
> Also, some proper native readline support would be nice for a useful debugger. I assume Term::ReadLine::Gnu isn't bundled because of the licence, but my debugger is always broken when I first use it.
> Not sure what either of these have to do with supporting HTTPS out of the box. Perhaps suitable for other threads?

The broader question that this thread raises, IMO, is: would it be better for Perl if core’s purpose were broader than merely “bootstrapping” Perl?

A while back it was explained to me that the point of having HTTP::Tiny, for example, in core is *not* to provide a “default”, go-to HTTP client, but to allow Perl _itself_ to, e.g., install modules from CPAN.

I respectfully submit that this is counterproductive. Perl would be more inviting if its standard library (i.e., core modules) included tools that facilitate work that Perl does well. Perl is great for text processing … so it should be as easy as possible to do things with it like read & write CSV or JSON. Perl is great for writing network applications … so it should be easy to make TLS connections with it. And so on.

The standard libraries of other modern languages offer a useful potential point of comparison. For example, Ruby distributes net/imap. Are there CPAN modules that can serve in that role for Perl?

As I glance down Ruby’s standard library—which seems decidedly more conservative than Python’s—the following stand out to me as “lacunae” in Perl’s core list:


- date/time

- getoptlong




- readline

- non-blocking DNS resolver

- shell escaping

- URI escaping


- zlib/deflate

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About