Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2017-10-30

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:13 castaway joined #metacpan
00:23 castaway joined #metacpan
04:35 castaway joined #metacpan
07:07 castaway joined #metacpan
07:12 castaway joined #metacpan
08:54 edward joined #metacpan
09:03 castaway joined #metacpan
09:08 Relequestual joined #metacpan
09:12 neilb joined #metacpan
09:51 castaway joined #metacpan
10:02 castaway joined #metacpan
10:13 castaway joined #metacpan
10:47 nakiro joined #metacpan
11:28 karjala_ joined #metacpan
12:28 castaway joined #metacpan
12:38 castaway joined #metacpan
12:54 castaway joined #metacpan
13:05 neilb joined #metacpan
13:37 castaway joined #metacpan
14:32 castaway joined #metacpan
14:41 neilb joined #metacpan
15:14 oalders I just reindexed Devel-PerlySense. That seems to fix it.
15:36 castaway joined #metacpan
16:01 bpj joined #metacpan
16:02 bpj How can I search (preferably in the web browser interface) for modules which require a certain version of perl?
16:05 Grinnz probably not in the web interface, but you could make an api query
16:06 haarg we don't have anything in the web interface for that kind of query
16:09 preaction there's also cpXXXan: http://cpxxxan.barnyard.co.uk
16:10 preaction which i should really start integrating into cpantesters like i promised to do in 2015...
16:12 haarg bpj: i'm curious what your use case is
16:12 haarg through the api, it wouldn't be too hard to search for things that list a specific perl version requirement
16:13 haarg it would be much harder to search for ranges though, or deal with prereq's perl requirements
16:13 haarg and that's assuming the metadata is accurate
16:13 bpj Find out how common it is for distributions to require a certain version
16:14 preaction to what end?
16:14 bpj To see how reasonable it is to require a more recent version
16:15 preaction a few of my dists require 5.10 because mojolicious does or because i need 5.10 features. one or two requires 5.16 because it needs 5.16 features. all of cpantesters is presently on 5.24 because i haven't had time to update to 5.26 yet
16:15 preaction it depends on who your audience is
16:15 bpj I mean most CPAN distributions are quite conservative in that regard
16:15 haarg my cpan stuff is pretty much all 5.8 or 5.6 compatible
16:16 preaction i have one dist whose audience is sysadmins working with the perl that's there, so 5.10 minimum and no compiled non-core deps
16:16 preaction and i need 5.10 minimum because recursive regex
16:16 preaction the result being: who's your audience? most dists ship with 5.14+ now, afaik
16:17 mst yeah, I think you're coming at this the wrong way
16:17 mst what's the dist, what features do you want, and why?
16:18 bpj My project is unicode heavy, and I need to write some regexes to files for later recompilation, so I'm thinking 5.14. I expect only offline use, but you never know.
16:18 ilmari https://www.cpan.org/ports/binaries.html shows which OSes shipped which perl version, but most are quite out-of-date
16:19 bpj Yes I noticed that
16:19 Grinnz 5.16 gives you the unicode_eval and evalbytes features which may or may not matter
16:19 haarg what kind of matches are you doing on unicode?
16:20 bpj Mostly fixed strings, with some lookaround
16:21 Grinnz writing regexes to files is something Sereal is good at, and that doesn't require a particular version of perl (other than 5.8+)
16:22 preaction but if nobody else is going to use this, you can just write it for whatever perl version you want
16:22 Grinnz i usually write code where i control the deployment with a minimum of perl 5.20 for signatures and other features
16:23 bpj I do expect others to use it, and I'm concerned because the stringification of regexes changed in 5.14
16:23 Grinnz if you use Sereal you don't need to stringify the regex to store it
16:23 haarg are the files expected to be used across multiple perl versions?
16:23 preaction then we're back to _who_ do you expect to use it? do these people have access to 5.14 perl? are they perl programmers?
16:23 bpj Yes, and multiple OSes
16:24 Grinnz as long as you have vaguely the same version of Sereal it would interoperate there
16:24 bpj The module is going to be used as a backend for an app which I expect non-programmers to use
16:26 bpj I guess I'm fine as long as most recent Linux distros and MacOS versions support the perl version. Windows users will have to install perl anyway
16:27 preaction and one user is going to export a file which is expected to be used by another OS with a different perl version?
16:27 Grinnz anything supports perl 5.26, but the perl the system comes with is a different matter
16:27 preaction you could in fact bundle the perl with your app if you really, really wanted
16:27 Grinnz rhel/centos 6 comes with 5.10
16:27 bpj Yes, files will be passed around
16:28 bpj I mean the perl the system comes with sorry. My english doesn't work that well in real time!
16:30 bpj I have considered bundling the perl, using pp, but I would need someone else to build it for recent Windows and Mac then.
16:31 bpj Thanks everyone, I'll consider the options you have mentioned
16:51 castaway joined #metacpan
17:07 gordonfish joined #metacpan
17:09 xenu he left, but realistically the oldest perl version that should be supported is the one present in the oldest supported RHEL release
17:09 xenu rhel and suse
17:09 xenu so 5.10
17:09 xenu of course there's solaris and other obscure platforms but tbh no one cares about them
17:12 * ilmari sends a PR to update the fedora details on https://www.cpan.org/ports/binaries.html
17:13 ilmari does anyone know of an equivalent of https://bodhi.fedoraproject.org/updates/?packages=perl or https://api.ftp-master.debian.org/madison?package=perl&a=source for RHEL/CentOS?
17:17 xenu http://rpms.famillecollet.com/rpmphp/zoom.php?rpm=perl
17:19 xenu i don't think official tool exists
17:20 xenu hmm... distrowatch is probably the best option
17:20 xenu and it covers *all* distributions
17:30 ilmari but it doesn't have a handy "show me the versions of $package in all all releases of $distro"
17:31 ilmari it just shows you which distros contain $package
17:31 ilmari http://distrowatch.com/table.php?package=perl
17:32 ilmari http://distrowatch.com/search.php?pkg=perl&relation=similar&pkgver=%25&distrorange=InAny#pkgsearch
17:32 ilmari ooh, http://distrowatch.com/table.php?distribution=redhat has a fow for perl
17:32 * ilmari didn't find that last time
17:41 ilmari but that's actually up-to-date, on cpan.org, since they haven't had a release in over three years
17:43 Grinnz ilmari: apparently redhat does have an official package search, but you need a redhat account to access it https://unix.stackexchange.com/a/6869
17:44 Grinnz and centos doesnt appear to have anything separately
17:46 Grinnz EPEL is included in fedora's pkgdb (since EPEL is fedora-managed), but i still don't know what's supposed to replace that
17:47 Grinnz the perl package isn't in EPEL so that doesnt really matter
17:49 Grinnz oh yeah, https://apps.fedoraproject.org/packages/
17:49 Grinnz that includes EPEL builds
17:49 Grinnz seems really buggy when it comes to perl though
17:50 ilmari perl
17:50 ilmari Subpackage of perl-bignum
17:50 Grinnz yeah
17:50 Grinnz i never figured out why that is, probably should file an issue
17:53 Grinnz https://github.com/fedora-infra/fedora-packages/issues/306
17:59 neilb joined #metacpan
18:11 karjala_ joined #metacpan
18:38 neilb joined #metacpan
20:26 castaway joined #metacpan
21:43 neilb joined #metacpan
23:18 karjala_ joined #metacpan
23:34 castaway joined #metacpan

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary