Recent CPAN uploads - MetaCPAN

Socket-2.037

networking constants and support functions

Changes for 2.037 - 2023-06-06

  • CHANGES
  • BUGFIXES
2023.06.06 11:57

Data-Validate-Mailbox-0.11

Verify that the given mailbox exists

Changes for 0.11

  • fix a bug for broken SPF
2023.06.06 11:05

Gmail-Mailbox-Validate-0.19

Find if the username has a valid mailbox in gmail

Changes for 0.19 - 2023-06-06

  • update POD
2023.06.06 10:09

OpenTracing-Implementation-v0.33.0

Use OpenTracing with a specific implementation
2023.06.06 10:06

HTTP-OAI-4.13

API for the OAI-PMH

Changes for 4.13 - 2023-06-06T11:43:51Z

  • Fixing use lib bug [ppisar]
2023.06.06 09:44

Data-Validate-Mailbox-0.10

Verify that the given mailbox exists

Changes for 0.10

  • first release
2023.06.06 08:51

SPVM-0.989

SPVM Language

Changes for 0.989 - 2023-06-06

  • New Features
  • Incompatible Changes
  • Warning
  • Bug Fix
2023.06.06 08:14

Music-ModalFunction-0.0312

Inspect musical modal functions

Changes for 0.0312 - 2023-06-05T23:24:55Z

  • Improve documentation again!
2023.06.06 06:25

Music-ModalFunction-0.0311

Inspect musical modal functions

Changes for 0.0311 - 2023-06-05T23:13:13Z

  • Improve documentation.
2023.06.06 06:14

App-Netdisco-2.062002

An open source web-based network management tool.

Changes for 2.062002 - 2023-06-06

  • BUG FIXES
2023.06.06 06:07

More…

WebService-OpenSky-0.3
Music-ModalFunction-0.0310
Music-ModalFunction-0.0309
WebService-OpenSky-0.2
MooseX-Extended-0.35
WebService-OpenSky-0.1
OpenAPI-Modern-0.045
Term-ANSIColor-Concise-2.03
Alien-SDL3-0.02
Log-Dispatchouli-3.004
Lingua-EN-Fathom-1.23
App-FirefoxMultiAccountContainersUtils-0.016
Tk-ListEntry-0.01
Tk-PopList-0.05
App-ArduinoBuilder-0.07
Dist-Zilla-Plugin-GitHub-RequireGreenBuild-0.04
Dist-Zilla-PluginBundle-Author-GTERMARS-0.06
Sys-Virt-IO-Async-0.0.3
Music-ModalFunction-0.0308
Alien-SDL3-0.01
App-Netdisco-2.062001
Syntax-Keyword-MultiSub-0.03
Net-Async-HTTP-Server-0.14
PerlIO-via-xz-0.06
App-HTTPThis-0.007
Plack-App-DirectoryIndex-0.0.4

Stack Overflow – Active questions tagged [perl]

How to retrieve data until a keyword in GenBank with Perl?

Perl CGI DBI Failed to connect: [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed (SQL-IM004)

Perl sort array creates new element if element being referenced

Regex to search pattern surrounded by a common pattern repetitively

Perl: foreach line, split, modify the string, set to array. Opendir, next if files=modified string. Unlink files

Merge arrays to make a new array in perl

Using system to extract tar

Bio Perl: code to split paired end data?

Command line arguments with keywords

Error "undefined subroutine" with File::Copy mkpath

Confusion when defining a list of array refs as constant

Rebuilding nginx with http_image_filter_module, how to correctly install the GD library in Windows and make it visible to other applications?

How to make Moose attributes immutable?

Perl Split String that has double quotes and space

How do I find the module dependencies of my Perl script?

Error: Can't locate File/HomeDir.pm in @INC

Substitution to change file path

How do I get a list of installed CPAN modules?

Regex Filename Not Matching

Regex to identify characters in keyword

News and Blogs

Articles on Perl.com - programming news, code and culture

The Perl Foundation

Hello (TPRF) World!

[img]

Check out our new newsletter! It's packed full of updates and conference information!

[Hello World 1.pdf](ra-rel-mnt/simplecas/fetch_content/5a6c1e4d5a8fbd000edee91334d3f3c19f2b5120/Hello World 1.pdf)

Don't want to click that? Here's the text version of the info:

*Hello (TPRF) World!

Welcome to the first installment of the TPRF Newsletter. *

Time for another TPRC 2023 update!

A reminder to all folks traveling from outside Canada (that's most of you) to attend TPRC 2023, go ahead and check that you have your passport! You're going to have to show that off to enter the country.

Dave Rolsky's course o…

2023.06.01 20:23

Time for another TPRC 2023 update!

[img]

A reminder to all folks travelling from outside Canada (that's most of you) to attend TPRC 2023, go ahead and check that you have your passport! You're going to have to show that off to the folks at the border.

Dave Rolsky's course on Go is now available on Eventbrite. The cost of the course is $125USD, and it's taking place at the Doubletree Hilton on Friday July 14, right after the TPRC 2023 conference. Reserve your spot here: https://sched.co/1NIEL

You haven't registered for the conference yet? Visit the website at https://tprc.to and set aside July 11-13 (Tuesday to Thursday) for three days…

2023.05.18 13:57

2023 TRPC Hackathon

[img]

The Perl and Raku Conference for 2023 will again feature a Hackathon Room. On July 10th, the Marketing Committee plans to coordinate activities for projects that have a broad impact on Perl.

We hope to involve 2-3 high impact projects and any number of smaller projects.

The committee will provide logistical and non-coding support for projects that want it. We want to help by:

  • matching people to projects and projects to people

  • keeping a record of commits and achievements for a post-event blog post

  • answer other questions like "where are bathrooms?" and "what is the wifi password?"

  • print and hang some…

2023.05.16 19:32

Call for Grant Applications May 2023

[img]

The Perl Foundation fosters continued development and use of Perl and Raku. As an open source programming language with a largely open source minded community, contributions to Perl and Raku are rarely rewarded. One of the many activities of The Perl and Raku Foundationhas been to reward these activities through Grants.

There are as many ideas as there are people reading this post, indeed it is likely that many people will have more than one idea. Indeed there will be many of you who have the skills and the time but need something to work on: see ideas suggested before. Here is an opportunity f…

2023.05.13 16:49

Dave M Booster Grant Report

[img]

[img]

Perl is a powerful programming tool that is deeply embedded in Linux and continues to form a critical component in diverse sets of applications. As such it needs continuous maintenance, optimisation and bug fixing. A mature language still relies of magic hidden away in its core that handles things like memory allocation, reference counting, and cope with complex algorithms which the initial developers may not have considered when the interpreter was being developed.

Two key strengths of Perl are 1) that it allows more than one way to do things 2) it remains backwardly compatible; new evolutions…

2023.05.11 16:12

Grant Application-PerlGPT

[img]

[img]

We have another grant application from John Napiorkowski you may recall being involved in getting Perl Bindings for Tensor Flow, and the inimitable Will Braswell also involved in TF Perl, amongst many other projects integral to Perl and RPerl. This time they have paired up to create an AI that speaks in Perl: Perl-GPT.

Applicants John Napiorkowski & Will Braswell

Amount Requested:

The budget for this project is $8,800 USD

Synopsis

This grant proposal is for phase 1 only of the development of PerlGPT, a large language model (LLM) comparable to ChatGPT 3.5/4.0 or Stanford Alpaca, and trained on Perl…

2023.04.26 14:44

blogs.perl.org

MooseX::Extended versus the debugger

I've released MooseX::Extended 0.35 and it resolves a long-standing bug. If you tried to use multi subs, it would trigger this bug in Syntax::Keyword::MultiSub. To fix that, you had to manually patch the latter module:

--- old/lib/Syntax/Keyword/MultiSub.xs  2021-12-16 10:59:30 +0000
+++ new/lib/Syntax/Keyword/MultiSub.xs  2022-08-12 10:23:06 +0000
@@ -129,6 +129,7 @@
 redo:
     switch(o->op_type) {
       case OP_NEXTSTATE:
+      case OP_DBSTATE:
         o = o->op_next;
         goto redo;

Not good. However, Syntax::Keyword::MultiSub 0.03 has been released with that patch included, so…

2023.06.06 11:49

Perl Weekly Challenge 220: Common Characters

These are some answers to the Week 220, task 1, of the Perl Weekly Challenge organized by Mohammad S. Anwar.

Spoiler Alert: This weekly challenge deadline is due in a few days from now (on June 11, 2023 at 23:59). This blog post offers some solutions to this challenge. Please don’t read on if you intend to complete the challenge on your own.

Common Characters

You are given a list of words.

Write a script to return the list of common characters (sorted alphabetically) found in every word of the given list.

Example 1

Input: @words = ("Perl", "Rust", "Raku")
Output: ("r")

Example 2

Input: @words = ("lov…
2023.06.05 21:42

Perl Weekly Challenge #219 - Squaring Up

Hi everybody! This week again because of time I only finished the first challenge of The Weekly Challenge. However, because work for my client requires Python, I'm busy learning Python and I thought "Why not do Python for a simple weekly challenge task?" This is the first Python code I've ever truly written and not just modified!

First, the Perl:

say $_ for (sort {$a <=> $b} (map {$_ * $_} @ARGV));

Yep, a one-liner. Normally I prefer to write longer, more readable code, but this time the task was so simple it made sense just to write it on one line.

We map each argument on the command line…

2023.06.04 17:40

Perl Toolchain Summit 2023 in Lyon

Four years have passed since the last Perl Toolchain Summit (PTS) in Marlow. I planned to continue working on PAUSE's web UI, but I didn't exactly remember what to do. So the first thing I did at home before the PTS was to read through the PAUSE issues and do some triage. I also resumed a virtual machine that held PAUSE clones I had worked on. There I found an untracked docker-compose.yml. It was incomplete. I must have given it up because I already had a working environment. However, I remembered a few people wanted an easier way to install PAUSE. It would be helpful if they could run PAUSE o…

2023.06.03 04:55

Perl Weekly Challenge 219: Sorted Squares

These are some answers to the Week 219, task 1, of the Perl Weekly Challenge organized by Mohammad S. Anwar.

Spoiler Alert: This weekly challenge deadline is due in a few days from now (on June 4, 2023 at 23:59). This blog post offers some solutions to this challenge. Please don’t read on if you intend to complete the challenge on your own.

Sorted Squares

You are given a list of numbers.

Write a script to square each number in the list and return the sorted list, increasing order.

Example 1

Input: @list = (-2, -1, 0, 3, 4)
Output: (0, 1, 4, 9, 16)

Example 2

Input: @list = (5, -4, -1, 3, 6)
Output: (1…
2023.05.30 22:30

Perl Weekly Challenge 218: Maximum Product and Matrix Score

These are some answers to the Week 218 of the Perl Weekly Challenge organized by Mohammad S. Anwar.

Note: the programs presented here were written several days ago, but I was unable to write this blog post in time due to various reasons, including lack of time and some serious problems with my computer.

Task 1: Maximum Product

You are given a list of 3 or more integers.

Write a script to find the 3 integers whose product is the maximum and return it.

Example 1

Input: @list = (3, 1, 2)
Output: 6

1 x 2 x 3 => 6

Example 2

Input: @list = (4, 1, 3, 2)
Output: 24

2 x 3 x 4 => 24

Example 3

Input: @li…
2023.05.30 02:32

Perl Hacks

Mission (Almost) Accomplished

[This post might sound like I’m angry at people making it hard to make progress on some things. That’s not the case at all. I realise completely that people have limited time and they get to choose how they spend it. If people are too busy elsewhere or have moved on to other projects then that’s just how it is and we need to deal with that the best we can.]

Back in December 2020, I wrote a blog post about how I wanted to fix a long-standing problem with App::HTTPThis. I’m happy to report that two and a half years later, the problem has been fixed.

To summarise my previous blog post:

  • App::HTTPThis…
2023.05.17 16:48

Perl

Perl-Academy.de Blog

DEV Community: perl

Perl Weekly #619 - Maintenance of CPAN modules

Originally published at Perl Weekly 619

Hi there!

There are way too many CPAN modules that are abandoned or at least not maintained. Even many central ones rarely see activity. It is not very surprising though. Many people who used to develop and maintain these modules have moved to some job where the particular module is not needed or even where they use other languages. Actually I see similar things in Python as well, but let's focus on Perl now.

Encountering an issue in such a module that is hardly maintained is a frustrating experience as you could also read in the recent article of Dave Cros…

2023.06.05 06:49

Perl Weekly Challenge #219 - Squaring Up

Hi everybody! This week again because of time I only finished the first challenge of The Weekly Challenge. However, because work for my client requires Python, I'm busy learning Python and I thought "Why not do Python for a simple weekly challenge task?" This is the first Python code I've ever truly written and not just modified!

First, the Perl:

say $_ for (sort {$a <=> $b} (map {$_ * $_} @ARGV));

Yep, a one-liner. Normally I prefer to write longer, more readable code, but this time the task was so simple it made sense just to write it on one line.

We map each argument on the command line…

2023.06.04 12:41

The cheapest way to the square

I'm always amazed at how far technology has come. If you told me twenty years ago, I'd be completing this challenge 41,000 feet in the air on a device that is $300 (about US$200), I'd totally laugh at you :)

Unfortunately the budget airline I'm flying with (Air Asia X) doesn't offer WiFi, otherwise I could also push this 41,000 feet in the air too.

Weekly Challenge 219

Challenge, My solution

Task 1: Sorted Squares Task

You are given a list of numbers.

Write a script to square each number in the list and return the sorted list, increasing order.

My solution

This is straight forward, so doesn't need much…

2023.06.03 00:25

Perl Weekly #618 - Conference Season?

Originally published at Perl Weekly 618

Hi there,

It seems we have been spoiled with the in-person conference. For all the Perl fans, we got two choices, The Perl and Raku Conference in Toronto and The Perl and Koha Conference in Helsinki. I would highly recommend the one convenient to you. We all need to come together and share the knowledge.

I am all set for the one in Toronto. Thanks to the organisers, I got the time slot to give a talk on The Weekly Challenge. Looking at the list of attendees and speakers, it is going to be fun 3 days event. Looking forward to meet fellow Team PWC members at…

2023.05.29 05:56

The one about maximums

Weekly Challenge 218

Challenge, My solutions

Task 1: Maximum Product Task

You are given a list of 3 or more integers.

Write a script to find the 3 integers whose product is the maximum and return it.

My solution

This seemed straight forward. Sort the numbers numerically and multiple the three largest numbers to get a solution. But it's not that simple.

The last example shows that the solution is obtained by multiple the lowest two numbers and the largest number. We know that if we multiple an even number of negative integers, the result is positive. Multiplying an odd number of negative numbers is alw…

2023.05.28 13:31

The only correct approach for UTF-8 strings in Perl

The only correct approach for UTF-8 strings in Perl.

A string is treated as byte sequences without any flags.

Separate functions that handle UTF-8 from functions that handle byte sequences. The following is an example of the substr function.

substr_bytes
substr_utf8

The use utf8_func pragma replaces substr with substr_utf8.

The use bytes_func pragma replaces substr with substr_bytes.

Feel free to comment.

2023.05.26 05:45

RabbitFarm

The Perl NOC

perlancar's blog

List of new CPAN distributions – May 2023

dist author abstract date
AI-Embedding BOD Perl module for working with text embeddings using various APIs 2023-05-30T11:02:58
Acme-NameChangeTEST NEILB module for testing module name changes in PAUSE 2023-05-11T10:40:34
Acme-NameChangeTest NEILB module for testing module name changes in PAUSE 2023-05-11T09:13:48
Acme-No-MakefilePL-No-BuildPL CONTRA Module for testing CPAN 2023-05-04T09:20:21
Acme-Onion KFLY .🧅 file extension in Perl. 2023-05-06T10:44:13
App-News SCHROEDER a web front-end for a news server 2023-05-22T07:32:33
App-news SCHROEDER a web front-end for a news server 2023-05-22T09:55:14
App-pepper GBROWN A command-li…
2023.06.05 02:18

List of new CPAN distributions – Apr 2023

dist author abstract date
Acme-Testing-BadPackages-WithRootdir GARU 2023-04-27T14:30:03
Acme-Testing-BadPackages-WithoutRootdir GARU 2023-04-27T14:28:36
AcmeTestingBadPackagesWithoutRootdir GARU 2023-04-28T07:15:05
Alien-FluentBit NERDVANA libfluent-bit.so and fluent-bit commandline tool 2023-04-20T09:20:35
App-ActivityPubClient LANODAN CLI-based client / toolbox for ActivityPub Client-to-Server 2023-04-04T15:54:04
App-ApClient LANODAN CLI-based client / toolbox for ActivityPub Client-to-Server 2023-04-04T15:28:44
App-ArduinoBuilder MATHIAS Build system for Arduino programs 2023-04-24T22:08:03
App-Prove-Plugin-KohaBootstr…
2023.05.01 00:50

# where we turn Perl inside out

(cdxlvi) 12 great CPAN modules released last week

Updates for great CPAN modules released last week. A module is considered great if its favorites count is greater or equal than 12.

  1. App::DBBrowser - Browse SQLite/MySQL/PostgreSQL databases and their tables interactively.
    • Version: 2.327 on 2023-06-02, with 12 votes
    • Previous CPAN version: 2.324 was 1 month before
    • Author: KUERBIS
  2. App::Netdisco - An open source web-based network management tool.
    • Version: 2.062000 on 2023-05-30, with 15 votes
    • Previous CPAN version: 2.061001 was 1 month, 3 days before
    • Author: OLIVER
  3. Firefox::Marionette - Automate the Firefox browser with the Marionette protocol
    • Version: 1.3…
2023.06.03 22:43

(dlxxxii) stackoverflow perl report

These are the five most rated questions at Stack Overflow last week.
Between brackets: [question score / answers count]
Build date: 2023-06-03 20:35:56 GMT

  1. Bitwise operator XOR (^) gives different results in linux and windows - [6/1]
  2. Perl Mojolicious: Passing arguments to a code ref - [2/2]
  3. Perl problem with substituting UTF-8 string on windows - [2/1]
  4. How to send a widget object created later to callback in Tk? - [2/1]
  5. perl read and filter input from file - [1/3]
2023.06.03 22:36

(cdxlv) 5 great CPAN modules released last week

Updates for great CPAN modules released last week. A module is considered great if its favorites count is greater or equal than 12.

  1. App::HTTPThis - Export the current directory over HTTP
    • Version: 0.006 on 2023-05-25, with 23 votes
    • Previous CPAN version: 0.004 was 10 days before
    • Author: DAVECROSS
  2. Number::Format - Perl extension for formatting numbers
    • Version: 1.76 on 2023-05-26, with 14 votes
    • Previous CPAN version: 1.75 was 7 years, 11 months, 1 day before
    • Author: RJBS
  3. PDL - Perl Data Language
    • Version: 2.084 on 2023-05-21, with 51 votes
    • Previous CPAN version: 2.083 was 21 days before
    • Author: ETJ
  4. Software…
2023.05.27 20:13

(dlvii) metacpan weekly report - OpenAIGPT4

This is the weekly favourites list of CPAN distributions. Votes count: 28

Week's winner (+3): OpenAIGPT4 

Build date: 2023/05/27 18:10:59 GMT


Clicked for first time:

  • Syntax::Kamelon - A versatile and fully programmable textual content parser that is extremely well suited for syntax highlighting and code folding

Increasing its reputation:

2023.05.27 20:12

(cdxliv) 10 great CPAN modules released last week

Updates for great CPAN modules released last week. A module is considered great if its favorites count is greater or equal than 12.

  1. App::HTTPThis - Export the current directory over HTTP
    • Version: 0.004 on 2023-05-15, with 21 votes
    • Previous CPAN version: 0.002 was 12 years, 9 months, 17 days before
    • Author: DAVECROSS
  2. CPAN - query, download and build perl modules from CPAN sites
    • Version: 2.36 on 2023-05-14, with 38 votes
    • Previous CPAN version: 2.35 was 17 days before
    • Author: ANDK
  3. Devel::Cover::Report::Coveralls - coveralls backend for Devel::Cover
    • Version: 0.32.1 on 2023-05-19, with 18 votes
    • Previous CPAN…
2023.05.20 22:35

(dlvi) metacpan weekly report - Lingy

This is the weekly favourites list of CPAN distributions. Votes count: 53

Week's winner: Lingy (+2)

Build date: 2023/05/20 20:32:46 GMT


Clicked for first time:

2023.05.20 22:33

Recent MetaCPAN News

perl on nxadm

Perl Advent Calendar 2022

Perl on Medium

In Praise of Perl

[img]

A brief look at the Perl Programming Language

Continue reading on Medium »

2023.05.30 16:15

June Birthstone: The Birthstone for Gemini is the Pearl — Astroyogi.com

[img]

Birthstones are said to be token of good fortune. It is a well-known fact that birthstones comprise of a wide range of properties in…

Continue reading on Medium »

2023.05.30 11:15

ChatGPT: Don’t Refactor Without It…(Part II)

[img]

Whaaaaat??????? I…am…officially…spooked. Yeah, I knew I could use map but I was lazy and it’s Friday…just write the dummy version and let…

Continue reading on Medium »

2023.05.25 23:05

ChatGPT: Don’t Refactor Without It

A Simple Guide to Extract GPS Information from GoPro Photos and Videos

[img]

Many people have a consumer grade camera like GoPro, these cameras are nice and resistant to create action videos and shots in the water…

Continue reading on Medium »

2023.04.16 22:20

Technical Log of Open Source Contribution: Quine in Perl

Overview:

Continue reading on Medium »

2023.04.12 05:20

Active questions tagged perl - Stack Overflow

How to retrieve data until a keyword in GenBank with Perl?

2023.06.05 11:10

Perl CGI DBI Failed to connect: [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed (SQL-IM004)

2023.06.06 04:29

Perl sort array creates new element if element being referenced

2023.06.06 06:13

Recent Commits to perl5:blead

Conference in the Cloud! A Perl and Raku Conf

ETOOBUSY

Packet Dissection Amarcord...

TL;DR

Back to packet dissection for troubleshooting…

Amarcord is a movie by Federico Fellini that mean “I remember”. Well, after a few years (some 20), I’m back looking at raw network-level captures from tcpdump to figure out what’s going on with some devices that seems to give bad answers.

On the other hand, it might be the client that is not able to understand those same answers. I’m more inclined to blame the server, though.

At a higher level, I had the joy of coding a quick client myself in Perl, sending the same request to the server and not getting an error. Which led me to think that the ot…

2023.06.05 06:00

DNS validation: validns

TL;DR

I shared validns, a small tool for DNS validation.

I wanted to do some validation upon a few domains lately, and it was an excellent occasion to use module Net::DNS. The result for what I coded so far is shared in repository validns.

At the moment it does the following checks:

  • get the list of authoritative nameservers starting from the root;
  • check that the same list is also stored in each of these nameservers;
  • check that all of them share the same SOA field.

I actually coded something to get WHOIS data about the domains, leveraging the free tier in the whoisjson.com web service. This part will…

2023.06.04 06:00

A cheaper terminal trick

TL;DR

An addition to A cheap trick to manipulate PERL5LIB.

In A cheap trick to manipulate PERL5LIB, from a long time ago, we saw a way to generalize setting the PERL5LIB variable and reuse this generalization.

The approach works fine when stuff is installed in a specific directory, which is usually the bin directory in a local installation of modules. This worked very good for applications that are available as, or in, distributions.

Which led me to an additional trick that made the whole thing cheaper: using a cpanfile. So I have a perl-tools directory, with a cpanfile inside, and a short script…

2023.06.03 06:00

PWC219 - Travel Expenditure

TL;DR

On with TASK #2 from The Weekly Challenge #219. Enjoy!

The challenge

You are given two list, @costs and @days.

The list @costs contains the cost of three different types of travel cards you can buy.

For example @costs = (5, 30, 90)

Index 0 element represent the cost of  1 day  travel card.
Index 1 element represent the cost of  7 days travel card.
Index 2 element represent the cost of 30 days travel card.

The list @days contains the day number you want to travel in the year.

For example: @days = (1, 3, 4, 5, 6)

The above example means you want to travel on day 1, day 3, day 4, day 5 and day 6 of…
2023.06.02 06:00

PWC219 - Sorted Squares

TL;DR

Here we are with TASK #1 from The Weekly Challenge #219. Enjoy!

The challenge

You are given a list of numbers.

Write a script to square each number in the list and return the sorted list, increasing order.

Example 1

Input: @list = (-2, -1, 0, 3, 4)
Output: (0, 1, 4, 9, 16)

Example 2

Input: @list = (5, -4, -1, 3, 6)
Output: (1, 9, 16, 25, 36)
The questions

Well, possibly I’d ask the range/domain of the input numbers, to figure out whether I have to get some big-numbers library for languages that need it.

The solution

We will just follow the indications: square the numbers, sort them in increasing o…

2023.06.01 06:00

serve_this

TL;DR

I discovered serve_this.

From time to time it is useful to explore a directory tree through the browser, e.g. to make it accessible remotely. There are a lot of solutions do do this around, in a plethora of languages; I recently discovered serve_this.

The good thing is that it’s based on Mojolicious, which is a breeze to install, as long as the associated plugin for doing the fancy directory indexing Mojolicious::Plugin::Directory::Stylish.

Another Perl-based alternative is [http_this][], although these days I don’t usually fiddle with Plack, so it’s somehow more distant.

Why Perl, you might…

2023.05.31 06:00

rjbs forgot what he was saying

PTS 2023: the CPAN Meta Analyzer (5/5)

my stupid CPAN “meta analyzer” (again)

I looked at whether I’d blogged about my CPAN distribution analyzer before, and I did. I wrote something eight years ago that began:

Just about exactly five years ago, I wrote a goofy little program that walked through all of the CPAN and produced a CSV file telling me what was used to produce most dists. That is: it looked at the generated_by field in the META files and categorized them.

So I guess it’s thirteen years old now! Wow.

As an aside: the first run, thirteen years ago, showed that about 2% of indexed CPAN distributions used Dist::Zilla. Five years…

2023.05.07 16:07

PTS 2023: refactoring the PAUSE indexer flowchart (4/5)

Email, indexing, and error reporting

Yesterday I said that in addition to a bunch of little work, I worked on one big change. That was true! It was still one thing all around email, indexing, and error reporting. These three were closely related, because the code is so intertwined. Here’s an example:

In newer perls, you write a package statement in one of these two ways:

package Code::Reusable 1.234;

sub something_in_package { ... }

##
## …or…
##

package Reusable::Code 1.234 {
  sub something_in_package { ... }
}

Here, the versions must be “strict”, meaning you can either write a simple ration…

2023.05.06 16:07

PTS 2023: more PAUSE work (3/5)

In past years, one of my big areas of work at PTS has been PAUSE. If you’re not a CPAN wonk, here’s a tiny explainer: PAUSE is the Perl Author Upload SErver. It’s where you go to upload new software to the CPAN, and to manage the permissions on packages for which you’re the administrator. It’s got a number of interrelated pieces, but the two easiest units to describe are the web interface and the indexer.

The web interface lets you log in, update your profile, manage permissions, and some other things like that. For the most part, the business logic and model code is directly written into the w…

2023.05.05 12:07

PTS 2023: The Lyon Amendment (minimum perl) (2/5)

Ten years ago, the “toolchain gang” who manage the libraries most central to deploying and testing CPAN libraries came to an agreement on the minimum supported version of perl. Nobody needed to keep maintaining v5.6, and everyone who hadn’t already, moved to v5.8. That was ten years ago, but the toolchain was still pinned to v5.8. I am not enthusiastic about targeting v5.8, and have written about this before. I bumped some modules to v5.12, earlier this year. I got some feedback, both positive and negative, but I felt good about it.

This year, a number of people wanted to talk about bumping the…

2023.05.04 12:09

PTS 2023: Lyon and changing plans (1/5)

It’s been three years since the last Perl Toolchain Summit. In 2019, I wasn’t sure whether I would go. This time, I was sure that I would. It had been too long since I saw everyone, and there were some useful discussions to be had. I think that overall the summit was a success, and I’m happy with the outcomes. We left with a few loose threads, but I’m feeling hopeful that they can, mostly, get tied up.

I’ll be posting updates over the next week or two, I suspect, because I’m not sure I can get everything down on paper right away. As I do, I’ll update this post with links into those. In the mean…

2023.05.04 11:41

Perl

Using Docker to Fix a Perl 5.37 Test Failure

Using Docker to Fix a Perl 5.37 Test Failure submitted by /u/oalders
[link] [comments]
2023.06.06 03:11

Do you know the best youtube video for learning Perl 5?

I'm a beginner at Perl 5 and using VS Code. I've searched for Perl 5 tutorial everywhere, but couldn't find a good one. Please, if you know a known guy that have a good video or playlist about Perl 5 send it to me:)

submitted by /u/DarkGamermn214
[link] [comments]
2023.06.06 10:28

A video about a compiler bug* some other languages that Perl also suffers* from: Out of order variable access

A video about a compiler bug* some other languages that Perl also suffers* from: Out of order variable access submitted by /u/palordrolap
[link] [comments]
2023.06.06 08:32

USN-6112-2: Perl vulnerability | Ubuntu security notices

submitted by /u/oalders
[link] [comments]
2023.06.05 14:45

List of new CPAN distributions – May 2023

List of new CPAN distributions – May 2023 submitted by /u/perlancar
[link] [comments]
2023.06.05 02:21

(cdxlvi) 12 great CPAN modules released last week

submitted by /u/niceperl
[link] [comments]
2023.06.03 20:43

BigfootInMouth

Containerizing a Barcode Reader

Flavio Poletti recently blogged about using Barcode::ZBar for reading QR codes. In a previous life I have written applications for workflows that involved reading QR codes from documents and have also used Barcode::ZBar very effectively…highly recommended.

Back then, iirc I had quite a struggle satisfying all of the dependencies required to get it actually work. I spent a little time after reading his article to see I could successfully build it once more, this time in a Docker container. The result is this project:

docker-barcode-zbar

It was a little difficult piecing together the required packa…

2023.05.11 06:48

ChatGPT Don’t Refactor Without It

Session #1 - refactoring a block containing map

The code below violates more than a few best practices making the intent of the code difficult to understand. Let’s get started…

User

Can you refactor this snippet of Perl code?

if (@multi_elems) {
      my $delim_qr1 = qr/\d+$group_delim1/o;
      #my $delim_qr2 = $group_delim2;
      foreach my $entry ( @log_data{@EIDs} ) {
        @{$entry}{@multi_elems}
          = map {
          my $x = $_;
          $x && ( $x =~ s/$delim_qr1//go )
            ? [
            # XXX: if $_ =~ m/^($group_delim2)+$/
            #      the result is…
2023.05.02 12:37

Perl Jobs

Systementwickler Telekommunikation (all genders), Deutschland (PŸUR | Tele Columbus AG)

Über die Tele Columbus AG

Die Tele Columbus AG ist einer der führenden Glasfasernetzbetreiber in Deutschland mit einer Reichweite von mehr als drei Millionen Haushalten.

Unter der Marke PŸUR bietet das Unternehmen Highspeed-Internet einschließlich Telefon sowie mehr als 200 TV-Programmen auf einer digitalen Entertainment-Plattform an, die klassisches Fernsehen mit Videounterhaltung auf Abruf vereint.

Auf Basis offener Netze realisiert die Tele Columbus Gruppe gemeinsam mit Wohnungswirtschaft und Kommunen maßgeschneiderte Kooperationsmodelle für eine leistungsfähige Versorgung mit Gigabit-Bandb…
2023.05.25

Perl Programmer Opportunity - Join a Prominent Tech Publishing Powerhouse in the Philippines, Philippines (Perl Jobs by Perl Careers)

Our UK-based client is a global leader in the enterprise technology publishing industry, providing audiences worldwide with stimulating perspectives and unique news on enterprise tech that matters today and tomorrow. They are currently seeking a passionate and exceptional Perl programmer based in the Philippines to join their team.

In this remote role, you will be responsible for managing the full life-cycle of software projects, including consultation with the business, designing, developing, and testing code. The majority of your work will involve back-end Perl code running on Debian servers…
2023.05.19

Perl Programmer with Rust Experience - UK Remote, UK (Remote) (Perl Jobs by Perl Careers)

Are you a talented Perl programmer with Rust experience looking to work for a cutting-edge enterprise tech publisher that’s at the forefront of the industry? Look no further than our client, a renowned publisher that provides unique news and stimulating perspectives on the enterprise tech that powers businesses across the globe.

As a Perl programmer, you’ll be responsible for managing the full life-cycle of software projects, from consultation with the business to designing, developing, and testing code. You’ll work on back-end Perl code that runs on Debian servers, but don’t worry if Rust is…
2023.05.15

UK Remote Perl Programmer for Leading Enterprise Tech Publication, UK (Remote) (Perl Jobs by Perl Careers)

Our client is a global leader in the enterprise technology publishing industry, providing audiences worldwide with stimulating perspectives and unique news on enterprise tech that matters today and tomorrow. They are seeking a talented Perl programmer to manage the full life-cycle of software projects on a remote basis. The ideal candidate is UK-based and has experience writing high-quality Perl code.

You will ensure the the client’s website remains top-notch and that journalists have the tools they need while communicating effectively with your wider team.

Required qualifications include exce…
2023.05.08

PERL PROFI Freelancer 100% remote - größtes Perl-Shopsystem weltweit, Remote, OR 82223 Eichenau (CosmoShop GmbH)

PERL PROFIS GESUCHT!
Wir sind das weltweit größte perlbasierte Shopsystem und dank unserer vielen Innovationen immernoch am Puls der Zeit. Mit unserer eigenen Cloudlösung, der Custom Plugins (indiv. Anpassungen in der Cloud), der Private Cloud Lösung / Whitelabel Lösung für unsere Kunden, uvm. sind wir einer der schlagkräfigsten B2B Shopsysteme in Deutschland.
Wenn Du Spaß an der Arbeit hast, 100% remote arbeiten möchtest und Projekte für große Kunden umsetzen willst, bist Du bei uns genau richtig.
Die Einarbeitung ins Systems unterstützen wir mit unserem Team und bezahlen Dir den Aufwand. Pro…
2023.04.27

Software Engineer & Senior Software Engineer, Highfield Campus, Southampton, UK (EPrints Services)

EPrints Services develops and maintains web based services for a wide variety of both education and commercial organisations all over the world. At our core is an open source repository platform that provides a flexible way to configure operations concerning data capture, structure and presentation, and a range of services that allow content to be accessed in a variety of ways.

Based in the School of Electronics and Computer Science you will take responsibility for the development of customer focused projects for both EPrints systems and more varied engineering projects relating to open access…
2023.04.17

Plack/PSGI backend server development, Switzerland (Safewatch)

We operate a backend server that runs on Plack/PSGI and Gazelle as an API server for a mental health application. The business logic and data encryption/decryption are also written in Perl, and all data is stored on an IPFS node, which serves as our secure data ledger.

We're seeking assistance to continue developing services that support new application features.
2023.04.13

PERL PROFI zur Festanstellung gesucht onsite / remote - größtes Perl-Shopsystem weltweit, Remote, OR 82223 Eichenau (CosmoShop GmbH)

PERL PROFI ZUR FESTANSTELLUNG GESUCHT!
Wir sind das weltweit größte perlbasierte Shopsystem und dank unserer vielen Innovationen immernoch am Puls der Zeit. Mit unserer eigenen Cloudlösung, der Custom Plugins (indiv. Anpassungen in der Cloud), der Private Cloud Lösung / Whitelabel Lösung für unsere Kunden, uvm. sind wir einer der schlagkräfigsten B2B Shopsysteme in Deutschland.
Wenn Du Spaß an der Arbeit hast, onsite oder remote arbeiten möchtest und Core Entwicklungen sowie Projekte für große Kunden umsetzen willst, bist Du bei uns genau richtig.
Die Einarbeitung ins Systems unterstützen wir…
2023.04.04