Recent CPAN uploads - MetaCPAN

Hash-ExtendedKeys-0.04

Hash Keys

Changes for 0.04 - 2022-05-18

  • Set min perl version for fieldhash support
2022.05.19 06:13

Hash-RestrictedKeys-0.03

restricted hash keys

Changes for 0.03 - 2022-05-18

  • explicit keys to fix failing tests in older perls
2022.05.19 05:58

SPVM-0.9517

SPVM Language

Changes for 0.9517 - 2022-05-19

  • CHANGE
  • BUG FIX
  • SPECIFICATION FIX
  • NON BACKWORD COMPATIBLE CHANGES
2022.05.19 01:44

Perinci-CmdLine-Util-Config-1.726

Utility routines related to config files

Changes for 1.726 - 2022-05-02

  • [ux] Enable warn_perl attribute of Config::IOD::Reader.
2022.05.19 00:05

Map-Tube-London-1.35

Interface to the London Tube Map.

Changes for 1.35 - 2022-05-19

  • Updated dependency on Map::Tube v3.66
  • Fixed line for South Kensington station.
  • Fixed unit test to respect the changes to Map::Tube.
2022.05.18 23:16

Map-Tube-3.66

Lightweight Routing Framework.

Changes for 3.66 - 2022-05-19T00:15:00+00:00

  • Handle reverse map when start and end share common line.
2022.05.18 23:13

Date-Holidays-CA-0.05

determines public holidays for Canadian jurisdictions

Changes for 0.05

  • b794c1a Add .gitignore file
  • c5eabc4 Update for release version
  • e2bc144 v0.04
2022.05.18 21:58

Variable-OnDestruct-0.05

Call a subroutine on destruction of a variable.

Changes for 0.05 - 2022-05-18T23:43:52+02:00

  • Don't copy magic to localized variable
  • Don't pass self as argument
2022.05.18 21:44

File-XDG-1.02

Basic implementation of the XDG base directory specification

Changes for 1.02 - 2022-05-18T15:34:26Z

  • Correct location of the default state directory (gh#24,gh#25)
2022.05.18 21:35

App-MARC-List-0.01

Base class and script for creating of some MARC field value unique list.

Changes for 0.01 - 2022-05-18T22:16:29+02:00

  • First version.
2022.05.18 20:17

More…

Map-Tube-London-1.34

Map-Tube-3.65

Map-Tube-Hongkong-0.03

libwww-perl-6.66

XS-Parse-Keyword-0.23

Acme-Backwards-0.05

App-perlimports-0.000043

Acme-Backwards-0.04

PDL-VectorValued-1.0.19

Hash-RestrictedKeys-0.02

Hash-ExtendedKeys-0.03

Data-Tools-1.30

Pod-Simpler-Aoh-0.08

App-Pod-0.02

App-MARC-Filter-0.02

App-pod-0.01

Pod-Query-0.02

Pod-LOL-0.02

Pod-Query-0.01

Pod-LOL-0.01

JSON-Schema-Generate-0.08

Map-Tube-Hongkong-0.02

Hash-Typed-0.05

Map-Tube-Hongkong-0.01

Catalyst-Plugin-SocialMeta-0.03

Tk-GtkSettings-0.03

Active questions tagged perl - Stack Overflow

Simple perl regex issue

How to create quasi-copy of a file

How to parse a string into a DateTime object in Perl?

Problem accessing hash imported from CSV in Perl

How do I install CPAN modules while using perlbrew?

How to execute MS Word 365 with Perl system()

Perl module XML::Compile::WSDL11: Body isn't added to request

How to substitute values ​enclosed in double quotes

simultaneously need to exit current perl script while opening the pdf file

How can I expand :: in IPv6 addresses in Perl? [closed]

Perl print does not output to screen (when using Socket)

Net::SIP not register domain [closed]

how to make latexmk the default compiler in texstudio?

How to convert a list of intervals into the list of numbers comprised within these intervals?

Perl - substring keywords

What will be the postgres equivalent in Perl DBI to lock a table: $db->do("LOCK TABLE charge IN EXCLUSIVE MODE") or ataerr::dbexecute($db);

Automate Perl bash script, but only run it if there are files or folders in a directory

Perl convert localtime to unix (epoch) time

Perl Split Function - How to assign a specify array value to a variable in one line

Extutils::Installed thinks a distribution and module are the same thing (?)

News and Blogs

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

Perl / Unix One-liner Cage Match, Part 2

In Part 1, I compared Perl’s regexp features with sed and Awk. In this concluding part, I’ll cover examples that make use of Perl’s extensive built-in features and third-party modules.

Bigger library

Perl has a much bigger collection of built-in functions compared to Awk. For command-line usage, I often need tr, join, map and grep. I like that arrays and hashes are distinct in Perl and applying sort on these data types is much simpler compared to Awk.

Append items to a list

This problem wants to append columns to rows that have too few, like the b, c and d rows:

a,10,12,13
b,20,22
c,30
d,33

This app…

2021.05.25 02:54

Perl / Unix One-liner Cage Match, Part 1


A shell (like Bash) provides built-in commands and scripting features to easily solve and automate various tasks. External commands like grep, sed, Awk, sort, find, or parallel can be combined to work with each other. Sometimes you can use Perl either as a single replacement or a complement to them for specific use cases.

Perl is the most robust portable option for text processing needs. Perl has a feature rich regular expression engine, built-in functions, an extensive ecosystem, and is quite portable. However, Perl may have slower performance compared to specialized tools and can be more verb…

2021.05.12 02:54

Downloading and Installing Perl in 2021

[This article is part of our Popular articles project to update Perl.com for contemporary practices]

If you’re reading this article, you’re likely looking for a simple way to download and install the Perl programming language. Or you already have Perl installed as part of your operating system, but it’s older than the currently-supported versions (5.32.1 or 5.30.3) and you’d like to use the latest and greatest features. The download options may seem daunting, especially if you’re new to computers or programming. We’ll take things step by step, and soon you’ll be on your way to…

2021.04.27 04:05

Interview: Trying to Catch Paul "LeoNerd" Evans

Paul “LeoNerd” Evans is a CPAN author, blogger, and core Perl contributor. He introduced the experimental isa operator in Perl 5.32 and the try/catch syntax in an upcoming version.

Tell me a little about yourself and your background; whatever you feel comfortable sharing.

Lets see—I’m going to do this in reverse chronological order.

Currently I’m a self-employed contractor, splitting my time between Perl and other computery things, and electronics. Most of the jobs I’ve had before I did that were based on Perl, with the minor exception of a little Internet startup company called &ldqu…

2021.03.30 01:24

Why I wrote Net::Google::CivicInformation

Before I became a computer programmer, I tried my hand at being a human programmer, in the form of a wordsmith, as I called myself then. I had various jobs as a writer, editor, translator and journalist, but I met with little success, for two main reasons. In those days you needed a publisher to find your work interesting enough to publish before anyone could read it, and that was a pretty high bar. And in the second place, it was difficult to get the humans to react to the content I wrote (I’m still exercised that the movie reviewer would get more letters to the editor than I did after…

2021.03.09 19:35

The Hijacking of Perl.com

For a week we lost control of the Perl.com domain. Now that the incident has died down, we can explain some of what happened and how we handled it. This incident only affected the domain ownership of Perl.com and there was no other compromise of community resources. This website was still there, but DNS was handing out different IP numbers.

First, this wasn’t an issue of not renewing the domain. That would have been a better situation for us because there’s a grace period.

Second, to be very clear, I’m just an editor for the website that uses the Perl.com domain. This means that I’m…

2021.02.28 08:59

blogs.perl.org

Perl Weekly Challenge 164: Prime Palindromes and Happy Numbers

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

Spoiler Alert: This weekly challenge deadline is due in a few of days from now (on May 15, 2022 at 24:00). This blog post offers some solutions to this challenge, please don’t read on if you intend to complete the challenge on your own.

Task 1: Prime Palindromes

Write a script to find all prime numbers less than 1000, which are also palindromes in base 10. Palindromic numbers are numbers whose digits are the same in reverse. For example, 313 is a palindromic prime, but 337 is not, even though 733…

2022.05.12 20:28

My Favorite Modules: Errno

The open or die idiom is fairly ubiquitous in Perl. To be useful, the exception should say something about what went wrong: open ... or die "Open error: $!", for example.

The $! built-in variable (a.k.a. $ERRNO or $OS_ERROR if use English; is in effect) gives you access to the C language errno variable, which through the magic of Perl interpolates an error message appropriate to the error given.

But there are times when some error analysis is in order. Fortunately, $! is a dualvar, so if you access it in numeric context rather than string context, you get the actual numeric value of the error co…

2022.05.11 22:38

Save the date - Deutscher Perl/Raku Workshop 2023 in Frankfurt am Main - 27.02.2023-1.03.2023

Hello everybody,

after a long time of waiting it is finally time - we cordially invite you
to the German Perl/Raku Workshop 2023.

Next year's workshop will take place from Monday 28 February to
Wednesday 1. March in the Saalbau Gallus in Frankfurt am Main.

The website and the call for papers are already online at
https://act.yapc.eu/gpw2023/cfp.html . We are looking forward to many interesting
presentations!

Of course, we also do not know if the Covid-19 situation will allow us to
to hold the workshop as usual. However, we hope that despite the
we will have an exciting event.

We are always happy about s…

2022.05.08 13:54

Perl Weekly Challenge 163: Sum Bitwise Operator and Summations

These are some answers to the Week 163 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 May 8, 2022 at 24:00). This blog post offers some solutions to this challenge, please don’t read on if you intend to complete the challenge on your own.

Task 1: Sum Bitwise Operator

You are given list positive numbers, @n.

Write script to calculate the sum of bitwise & operator for all unique pairs.

Example 1:

Input: @n = (1, 2, 3)
Output: 3

Since (1 & 2) + (2 & 3) + (1 & 3) => 0 + 2 + 1 =>  3.

Example 2…

2022.05.02 22:32

Perl Weekly Challenge 162: ISBN-13 and Wheatstone-Playfair

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

Spoiler Alert: This weekly challenge deadline is due in a couple of days from now (on May 1st, 2022 at 24:00). This blog post offers some solutions to this challenge, please don’t read on if you intend to complete the challenge on your own.

Task 1: ISBN-13

Write a script to generate the check digit of given ISBN-13 code. Please refer wikipedia for more information.

Example

ISBN-13 check digit for '978-0-306-40615-7' is 7.

This how Wikipedia describes the calculation of the ISBN-13 check digit:

Appendi…

2022.04.28 03:22

Perl Weekly Challenge 161: Abecedarian Words and Pangrams

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

Spoiler Alert: This weekly challenge deadline is due in a couple of days from now (on April 24, 2022 at 24:00). This blog post offers some solutions to this challenge, please don’t read on if you intend to complete the challenge on your own.

Task 1: Abecedarian Words

An abecedarian word is a word whose letters are arranged in alphabetical order. For example, “knotty” is an abecedarian word, but “knots” is not. Output or return a list of all abecedarian words in the dictionary, sorted in decreasing…

2022.04.24 02:50

Perl Hacks

Replacing CPAN RT

[Update: the CPAN Request Tracker was saved. It’s now run by a new team of volunteers and none of my suggestions below are required.]

Two weeks ago, we learned that the CPAN Request Tracker was closing down early next year. I proposed a plan that CPAN authors could follow to ensure that their users can still find somewhere to report bugs in modules (and, perhaps more importantly, to see what bugs have already been reported in modules).

But that’s only part of the problem. In fact, it’s probably a minor part of the problem. If you’re an active CPAN author, then you probably already knew about the…

2020.12.16 17:24

RT – Action Plan for CPAN Authors

CPAN RT is going away. CPAN authors have until the beginning of March to extract any useful information from it.

RT is the “Request Tracker”, a bug tracking system that is written by Best Practical. For almost as long as I can remember, anyone who uploads a module to CPAN gets a free ticket queue for their module at rt.cpan.org. MetaCPAN assumes that’s where people should report bugs in your module and helpfully adds an “issues” link that goes to the appropriate page in RT.

But now that system is going away. It will be switched off on the 1st March 2021. The Perl NOC team is spread pretty thinly…

2020.12.06 12:40

Down the rabbit hole

Blog posts are like busses. You wait months for one and then two come along on consecutive days!

Yesterday I wrote about how we didn’t need a blogging platform for the Perl community – all we really needed was a good-looking feed aggregator. I mentioned Perlsphere as one such aggregator.

Then Matthew commented, saying that Perlsphere looked a bit broken as Dave Cantrell’s posts from a few years ago frequently pop up there as new posts. I had a quick look at the problem and couldn’t quite work out what was going on. His web feed seems valid, but Perlsphere didn’t seem to recognise the dates of th…

2020.09.18 15:24

Blogging for Perl

I think it was at YAPC Copenhagen in 2008 that a small group of us first discussed the idea of building a shared blogging platform for the Perl community. It was over a year later that we launched blogs.perl.org.

I remember a lot of discussions over that time where we tried to thrash out exactly what we wanted to build. I know that one of my main drivers was that I wanted to replace the journals feature of use.perl. For those of you too young to remember, use.perl was a Perl community web site from the dawn of time. The site ran Perl news on its front page, but users could also have their own j…

2020.09.17 20:10

The Best of Perl Hacks

What do you do when you’re stuck inside because Coronavirus means that your country is in lockdown? Well, you write a book, of course. Or, to be more accurate, you cobble together fifty or so old blog posts into a book.

So that’s what I’ve done. Now you can read some of your favourite Perl Hacks blog posts in a handy Kindle book. Other ebook marketplaces are, of course, available – but I haven’t had the time to make a version that’s available from anywhere else yet. That might follow if enough people ask for it.

The book is, predictably, called The Best of Perl Hacks and it’s available from Amaz…

2020.04.07 15:05

PerlCon Europe 2019

Last week I was in Riga for this year’s European PerlCon (the conference formerly known as YAPC::Europe). As has become traditional, here’s my report of the conference.

My conference began on Tuesday night at the pre-conference meet-up. Most people get into town on the night before the conference starts and the organisers always designate a local bar as a meeting place. This time, as the conference was being held in a hotel, the meeting place was a room in the hotel just outside the main conference room. It’s always good to meet up with friends who you might not have seen since the previous con…

2019.08.11 13:40

Perl Weekly newsletter

#564 - Issues with OOP?

Hi there,

I am a big fan OOP and can't wait to see Modern Object in Perl, Corinna, to be part of core Perl. Last update I had was in early January by Curtis. You can checkout the details here.

If you are new to Corinna then I would recommend you checkout this post by Curtis. Those who don't know, Curtis is leading the team working on Corinna.

Talking about OOP, I came across another post by none other than Curtis himself sharing the common issues with OO code. This should be taught to anyone starting OO in any language and not just Perl, in my humble opinion. Having read it few times already from…

2022.05.16 10:00

#563 - Shall we continue the newsletter?

Hi,

Two weeks ago I switched the email sending from an old mailman installation on my own server to Sendgrid. I was hoping to fix the delivery issues, but that did not happen. Some subscribers who have not received the newsletter earlier started to receive it, others stopped receiving it. The big difference is that now I see a report of who has not received it. For example I see many @cpan.org addresses in the bounce list. That's just sad. I got some offers to use other services, free of charge, but frankly I am quite tired of fighting the SPAM filters.

In other news, we really hardly have any i…

2022.05.09 10:00

#562 - Perl Conference

Hi there,

I wish all the readers of the weekly newsletter, a very Happy Idd. We are celebrating Idd today in England and luckily it is a Bank Holiday as well.

I have seen Facebook post about the upcoming The Perl and Raku Conference 2022, Houston, TX. With this, I kept wondering why not have London Perl Workshop 2022 too? Being member of the LPW organizing team, I discussed it with fellow member, Julien. Good news is he seems positive about it as well. I don't know whether we have enough time to kickstart the process. Just hoping we get the opportunity to organize the conference. It has been a l…

2022.05.02 10:00

#561 - Switching to Sendgrid

Hi there

I have just switched from using Mailman to Sendgrid to distribute the Perl Weekly. I hope this will improve the delivery rate. I was wondering what system should I use to maintain the list of registered people and got to the conclusion that, at least for the time being, I'll use a flat file and I'll manually maintain it. We'll see how that works.

In other news, my son started his own start-up company. He and his partner are building a tool for private investors so instead of chasing data sources they can spend more of their time on the decision making process. It would be nice of you if…

2022.04.25 10:00

#560 - Perl Rocks

Hi there,

Here in England, two long weeks of school holidays are ending for us today. It is Monday bank holiday in England today. From tomorrow, we are back to the school run in the morning and afternoon, whilst fasting during the day as Ramadan is going on.

Let's enjoy the last day of the break and not worry about anything else.

In the last one week or so, I have been sharing Perl sample code in posts on various social media platforms, like The Perl Community, Perl Programmers, Twitter and LinkedIn. It has generated lots of buzz on the subject. Lots of new ideas, at least to me, came to the fore…

2022.04.18 10:00

#559 - Endangered and dying languages

Hi!

While the population of the world is growing the language-diversity is shrinking. There are many languages that are used less and less. (Wikipedia has a list by location. I am sure as programmers there are plenty of thing we can also do to help. That's why I have been investing time in LibreLingo project and specifically in Judaeo-Spanish (aka. Ladino, or Judezmo). Now I can also show you the dictionary I have been working on. You can type in words in any of the languages listed there and it will try to find the Ladino word for it. The dictionary is still small. It contains only 3,500 words…

2022.04.11 10:00

Perl

More Mastodon, less Twitter

I was getting more and more annoyed with twitter in the last few months (mostly because I had to click "See [some annoying feature] less often" several times a day) and the whole Musk-takeover finally pushed me over the edge. I've set up an account on Mastodon Technology and plan to use this nice, open source, federated tool more and more, and leave twitter behind.

I never really used twitter as a primary platform, but used it to automatically "promote" some of the stuff that's happening on this website. So now I have to port this tools to use Mastodon. Which turned out to be quite easy:

Mastodo…

Pod2Slides Update: single page talk slides

A common critique about slides to my talks is that they are rather annoying to read, because one has to page through the "presentation mode" by clicking next or hitting Enter a lot0.

Yesterday I started to change this, and tonight I added some finishing touches like responsive HTML/CSS and an external CSS file. My last three talks are now converted to the new layout, the older ones will follow soon.

You can get to the "single page" view by following the "All in one HTML"-Link. This page should also work ok-ish on small screen sizes (images are shrunk, and preformatted text (i.e. code samples) wi…

and or AND and ElasticSearch, or: Case matters

Today I spend a few hours hunting a weird bug. I got a report that people entering data for the Steiermärkische Landesbibliothek where not able to find duplicate entries when adding new books. In theory, Koha should search through all the already existing data and present the user with a dialog if they maybe want to reuse the existing entry, if one is found:

This works when an ISBN was entered, but not when "only" title, author and some other data was available. To make things a bit more complicated, we're using the not-default ElasticSearch backend, as opposed to the old-school Zebra0 index fo…

Advent of Code Day 15 to 24, with some gaps

A few more days of Advent of Code...

Day 15 - Chiton

Another path finder, this time with different costs for different paths. This screams for Dijkstra, but for part 1 I still did a more stupid brute force solution using code similar to Day 12 (but using a stack instead of recursion).

For part two my brute force solution was too slow, so I actually had to understand / implement Dijkstra, which took a bit of time, the Wikipedia article and this nice page. It was still rather slow, because I used a plain Perl sort to sort the todo list. Then I thought that I could just group the nodes by cost, thin…

Advent of Code Day 9 to 14

Five more days of coding adventures!

Day 9 - Smoke Basin

We need to find "low points" in a two-dimensional map of integers ranging from 0 to 9.

For part 1 I used a hash to store the map (with keys like "3_2" for row 3/col 2), and looked in the 4 bordering fields to find lower values (adjusting for corners/borders), I use the classic method (learned in previous years) of looping through a list of offsets to look for the neighbouring values:

for my $move ([-1,0],[1,0],[0,-1],[0,1]) {
     my $look = ($r + $move->[0] ).':'.($c + $move->[1]);
     my $val = $map{ $look };
     ...
 }

If the value…

Perl-Academy.de Blog

Auf dem Weg zu Perl 5.36 - try/catch/finally

Es ist nicht schön, wenn man eine Anwendung hat, die vielleicht mittendrin einfach aufhört zu laufen. Vielleicht ist die Anwendung in einen Fehler gelaufen und vielleicht gibt es keine ordentliche Fehlermeldung. Woran hat es gelegen? An welcher Stelle ist der Fehler aufgetreten?
2022.05.12 10:00

Auf dem Weg zu Perl 5.36 – Änderungen mit "use v5.36"

Mittels `use v5.` können Features und Standardeinstellungen für die angegebene Perl-Version geladen werden. Und es ist die minimal notwendige Perl-Version. Ein `use v5.10` verlangt, dass das Programm mindestens mit Perl 5.10 ausgeführt wird. Darüber hinaus wird zum Beispiel das Feature `say` aktiviert.
2022.05.06 10:00

Auf dem Weg zu Perl 5.36 – Signaturen

Nicht einmal 1 Monat, dann wird es die nächste Version von Perl 5 geben: Perl 5.36. Um die Wartezeit etwas zu verkürzen, werden wir hier ein paar Neuerungen vorstellen. Der erste Teil hat dann aber etwas zum Thema, das gar nicht mehr so neu ist: (Methoden-)Signaturen. Schon seit Perl 5.20 (also rund acht Jahre) gibt es die Signaturen. Aber jetzt endlich sind sie nicht mehr als "experimentell" gekennzeichnet.
2022.04.28 10:00

Bericht Deutscher Perl/Raku-Workshop 2022

Ende März fand in der 24. Deutsche Perl/Raku-Workshop statt. Nachdem im letzten Jahr die Veranstaltung auf Grund der Corona-Pandemie nur online stattfand, war in diesem Jahr ein Teil der Teilnehmer in Leipzig anwesend. Weitere Teilnehmer lauschten den Vorträgen im Live-Stream. Corona bzw. die Covid-19-Zertifikate waren Thema bei "domm", der gezeigt hat, wie er mit einer Perl-Anwendung die QR-Codes der Zertifikate validiert und geprüft hat.
2022.04.06 10:00

perlbrew

Das System-Perl zu verwenden hat viele Nachteile. Diese können behoben werden, wenn man ein eigenes Perl in seinem Benutzerverzeichnis installiert. Mit dem Werkzeug `perlbrew` kannst du mehrere Perl-Installationen nebeneinander auf einem System konfliktfrei betreiben.
2021.07.14 10:00

Bericht vom Deutschen Perl-/Raku-Workshop 2021

Der Deutsche Perl-/Raku-Workshop ("German Perl Workshop", GPW) ist eine Institution in der Perl-Community: Seit 1999 gibt es diese Konferenz rund um Perl (und seit ein paar Jahren Raku). Damit ist der GPW eine der ältesten Perl-Veranstaltungen überhaupt.
2021.06.23 10:00

DEV Community: perl

Mojolicious

Durante um ano e meio trabalhei com o mojolicious em um projeto legado dentro de uma empresa de telecomunicações. Aprendi a fazer diversas coisas com ele e hoje vim contar para vocês como ele funciona.

O que é?

O mojolicious é um framework composto de um conjunto de componentes para desenvolvimento Web em tempo real com Perl usando um MVC bem estruturado. Abaixo podemos observar alguns dos seus recursos disponíveis:

  • Implementação cliente/servidor HTTP e WebSocket com IPv6, TLS, SNI, IDNA, proxy HTTP/SOCKS5, socket de domínio UNIX, Comet (long polling), Promises/A+, async/await, keep-alive, timeou…
2022.05.16 22:45

Release 1.9.14 of Perl distribution Crypt::OpenSSL::X509

A new release of the Perl distribution Crypt::OpenSSL::X509 have been uploaded to CPAN.

The release contains contributions from 5 separate people including myself.

  • 9 PRs merged
  • 4 issues addressed

The PRs had been building up for some time, so I am very happy I was able to find the time to go through them all. There are still 10 open issues and I hope they can get some attention too.

The biggest challenge is OpenSSL 3 support, where we are not exactly there, but I believe we are at a more stable point now, which is a good starting point for this work.

From the trial release was made (2022-04-26) to n…

2022.05.03 18:20

Like/Dislike system with Mojolicious

This post describes the actual Like/Dislike mechanism in the program based on Mojolicious. Web pages style is created using the Bootstrap framework. The full version of the Mojolicious like-dislike demo can be downloaded at: https://github.com/arslonga/like-dislike

So, in the start package Vote.pm we create routers for the post with a certain ID in the section named 'first-section' (for example), and also for like and dislike:

sub startup {
my $self = shift;

my $r = $self->routes;
...
$r->any('/first-section/:id' => [ id => qr/[0-9]+/ ] )->to('post#article');
...
$r->any('/lik…
2022.04.29 07:38

Moo - Orientação de objeto minimalista

Como começar a programar em Perl da maneira correta. (Diferente de mim)

Perl Orientado a Objeto Part I

Perl Orientado a Objeto Part II

Perl Orientado a Objeto Part III

Moo - Orientação de objeto minimalista

O que é o Moo

Diferente do Moose, que vimos anteriormente, o Moo é um sistema de orientação a objetos extremamente leve. Permitindo definições de objetos e funções de maneira bem simples. Tem um sub-conjunto do Moose o Moo evita depender de qualquer módulo XS para permitir implantações simples. Fornece quase dois terços do Moose.

Quando usar o Moo

Como dito a cima, o Moo deve ser utilizado quando a…

2022.04.26 15:55

Perl Orientado a Objeto Part III

Perl Orientado a Objeto Part I

Perl Orientado a Objeto Part II

Perl Orientado a Objeto Part III

Moo - Orientação de objeto minimalista

Moose: Um jeito mais elegante de usar a Orientação a Objeto no Perl

O Moose fornece um conjunto de funções exportadas que torna o Perl Orientado a Objeto com uma sintaxe que funciona de maneira muito mais simples e bonita. Permitindo que voltemos nossa atenção para a abstração de dados, no lugar de focar nos detalhes de implementação.

⚠️ Este post tem como objetivo implementar orientação a objeto com Perl utilizando o Moose, por tanto ele leva em consideração que voc…

2022.04.24 13:50

Grep with Head Line

No Head Line in grep search

when I tried to find a process, I normally use ps with grep command.

sh> ps aux | grep fish
myoungj+     695  0.0  0.0  88596  7000 tty2     S+   09:17   0:00 -/usr/bin/fish -c /usr/bin/gnome-session -l 
myoungj+    2490  0.0  0.1 164660 10140 pts/1    Ss   09:21   0:00 -fish
myoungj+    2665  0.0  0.1 172848 10076 pts/2    Ss+  09:24   0:00 -fish
myoungj+    2781  0.0  0.1 172724  9712 pts/0    Ss+  09:27   0:00 -fish
myoungj+    3024  0.0  0.1 164528  9552 pts/3    Ss+  09:32   0:00 -fish
myoungj+    4709  0.0  0.0   9136  2692 pts/5    S+   10:00   0:00 grep --c…
2022.04.24 01:50

RabbitFarm

Happily Computing Prime Palindrome Numbers

The examples used here are from the weekly challenge problem statement and demonstrate the working solution.

Part 1

Write a script to find all prime numbers less than 1000, which are also palindromes in base 10.

Solution

use strict;
use warnings;
use Math::Primality qw/is_prime/;

sub palindrome_primes_under{
    my($n) = shift;
    my @palindrome_primes;
    {
        $n--;
        unshift @palindrome_primes, $n if(is_prime($n) && join("", reverse(split(//, $n))) == $n);
        redo if $n > 1;  
    }
    return @palindrome_primes;
}

MAIN:{
    print join(", ", palindrome_primes_under(1000…
2022.05.15 23:58

Bitwise AndSums and Skip Summations: Somewhat Complicated Uses of Map

The examples used here are from The Weekly Challenge problem statement and demonstrate the working solution.

Part 1

You are given a list of numbers. Write a script to calculate the sum of the bitwise & operator for all unique pairs.

Solution

use strict;
use warnings; 

sub sum_bitwise{
    my $sum = 0;
    for my $i (0 .. @_ - 2){
        my $x = $_[$i];
	map {$sum += ($x & $_)} @_[$i + 1 .. @_ - 1];
    }
    return $sum; 
}

MAIN:{
    print sum_bitwise(1, 2, 3) . "\n";  
    print sum_bitwise(2, 3, 4) . "\n";
}  
Sample Run

$ perl perl/ch-1.pl
3
2
NotesSince most of the code for both parts of…
2022.05.08 13:52

The Weekly Challenge 162

The examples used here are from The Weekly Challenge problem statement and demonstrate the working solution.

Part 1

Write a script to generate the check digit of a given ISBN-13 code.

Solution

use strict;
use warnings;

sub isbn_check_digit{
    my($isbn) = @_;
    my $i = 0;
    my @weights = (1, 3);
    my $check_sum = 0;
    my $check_digit;
    map {$check_sum += $_ * $weights[$i]; $i = $i == 0 ? 1 : 0} split(//, $isbn);
    $check_digit = $check_sum % 10;
    return 10 - $check_digit;
}

MAIN:{
    print isbn_check_digit(978030640615) . "\n";
}
Sample Run

$ perl perl/ch-1.pl
7   
References

C…

2022.05.01 14:34

Are Abecedarians from Abecedaria?

The examples used here are from The Weekly Challenge problem statement and demonstrate the working solution.

Part 1

Output or return a list of all abecedarian words in the dictionary, sorted in decreasing order of length.

Solution

use strict;
use warnings;

sub abecedarian{
    sort {$b->[1] <=> $a->[1]} map {[$_, length($_)]} grep{chomp; $_ eq join("", sort {$a cmp $b} split(//, $_))} @_;
}

MAIN:{
    open(DICTIONARY, "dictionary");
    for my $abc (abecedarian(<DICTIONARY>)){
        print $abc->[0] . " length: " . $abc->[1] . "\n";
    }
    close(DICTIONARY);
}
Sample Run

$ perl perl/c…
2022.04.24 16:10

Four is Equilibrium

The examples used here are from The Weekly Challenge problem statement and demonstrate the working solution.

Part 1

You are given a positive number, $n < 10. Write a script to generate english text sequence starting with the English cardinal representation of the given number, the word "is" and then the English cardinal representation of the count of characters that made up the first word, followed by a comma. Continue until you reach four.

Solution

use strict;
use warnings;

my %cardinals = (
    1 => "one",
    2 => "two",
    3 => "three",
    4 => "four",
    5 => "five",
    6 => "six…
2022.04.17 09:59

Farey and Farey Again, but in a Mobius Way

The examples used here are from The Weekly Challenge problem statement and demonstrate the working solution.

Part 1

You are given a positive number, $n. Write a script to compute the Farey Sequence of the order $n.

Solution

use strict;
use warnings;

use POSIX;

sub farey{
    my($order) = @_;
    my @farey;
    my($s, $t, $u, $v, $x, $y) = (0, 1, 1, $order, 0, 0);
    push @farey, "$s/$t", "$u/$v";
    while($y != 1 && $order > 1){
        $x = POSIX::floor(($t + $order) / $v) * $u - $s;
        $y = POSIX::floor(($t + $order) / $v) * $v - $t;
        push @farey, "$x/$y";
        ($s, $t, $u…
2022.04.10 11:45

The Perl NOC

Weekend Outage

You may have noticed that some perl.org services were unavailable this weekend.  Email continued to flow, and no data was lost.

The short version of the story is that we were bitten by this bug. and learned a lot about how Kubernetes works while we figured out what the issue was.

Sorry for any inconvenience!

2021.05.09 21:29

CPAN Mirror List Changes

We sent the below email to all the CPAN Mirror contacts yesterday:

An Important Update about the CPAN Mirror List

You're receiving this email because you're listed as a contact point for a CPAN mirror. Thank you! The mirror network has been a huge part of CPAN’s success. Soon, the way clients use CPAN mirrors is changing. You don't need to do anything, but after reading this email, you might want to.

Some background: For a long time, when the CPAN client (aka CPAN.pm) started up for the first time, it prompted users to configure it by picking a nearby mirror. The assumption was that it would be b…

2021.02.22 09:39

perl.com hijacked

 The perl.com domain was hijacked this morning, and is currently pointing to a parking site.  Work is ongoing to attempt to recover it.

 We encourage you NOT to visit the domain, as there are some signals that it may be related to sites that have distributed malware in the past.

  Some users may have it selected as their CPAN mirror.  To update your mirror in CPAN.pm use o conf urllist http://www.cpan.org/

# perl -MCPAN -eshell
cpan shell -- CPAN exploration and modules installation (v2.20)
Enter 'h' for help.

cpan[1]> o conf urllist http://www.cpan.org/
Please use 'o conf commit' to make the config perma…

2021.01.27 20:01

rt.cpan.org will sunset on March 1st, 2021

Update 2/21/2021:

Updated information about the future of rt.cpan.org can be found at https://news.perlfoundation.org/post/rt-cpan-org-future

Update 2020-12-13:

rt.cpan.org will be sunset on March 1st, 2021 due to low and declining use.

Back when we started this service, it filled a need by providing a place for CPAN authors to track bug reports and feature requests. In recent years github.com and other sites have added issue tracking to their git repo hosting and many CPAN authors have migrated to these sites.

If you are a CPAN author, there are several tools to help you migrate existing tickets:

    • h…
2020.12.04 17:40

cpan.org email supported by Pobox

Earlier this year we quietly switched the infrastructure that forwards ${author}@cpan.org email addresses from our home-grown solution to Pobox’s Bulk Forwarding system. Our system wasn’t keeping up with the spam-filtering needs of these widely published email addresses.

Pobox is now detecting over 93% of the incoming email to @cpan.org as spam and taking care of it. That’s tens of thousands of spam emails a day that aren’t forwarded on. (Almost 2.5 million emails a month!) Said another way -- less than 7% of emails sent to @cpan.org are valid!

Beyond improved spam filtering, there’s also better…
2020.04.27 21:19

Perl bugs now on GitHub


For over 17 years, the Perl NOC has hosted an RT instance for Perlbug, the system that tracks and manages Perl bugs and feature requests.  Two weekends ago, it transitioned to GitHub.    Background is available in this thread.
We'd especially like to thank Todd Rinaldo who led the migration and did most of the work.  His attention to detail cannot be understated.  17 years of data (some of which had been migrated to RT from the previous system) required a lot of tweaking and polishing to make it look nice.  His hard work shows in the result.
It's been fun and interesting to support this particular piece…
2019.10.30 20:56

perlancar's blog

List of new CPAN distributions – Apr 2022

dist author first_version latest_version abstract
Acme-CPANModules-Set PERLANCAR 0.001 0.001 List of modules that deal with sets
Acme-CPANModules-Symlink PERLANCAR 0.001 0.001 List of modules that deal with symbolic links (symlinks)
Acme-Inabajun-Utils INABAJUN 0 0.01 The great new Acme::Inabajun::Utils!
App-FizzBuzz TTKCIAR 1.00 1.00 Maximally codegolfed FizzBuzz
App-Greple-git UTASHIRO 0.01 0.01 Greple git module
App-Greple-subst-desumasu UTASHIRO 0.01 0.02 Japanese DESU/MASU dictionary for App::Greple::subst
App-PDF-Overlay JV 0.001 0.002 pdfolay – insert a PDF document over/under another document
App-RunStopRun GRAY 0.01 0.03 limit…
2022.05.01 09:06

List of new CPAN distributions – Mar 2022

dist author first_version latest_version abstract
API-MailboxOrg PERLSRVDE 1.0.0 1.0.2 Perl library to work with the API for the Mailbox.org API
Acme-CPANModules-SQLite PERLANCAR 0.001 0.001 List of modules related to SQLite
Alien-7zip ZMUGHAL 0.01 0.01 Find or build 7-Zip
Alien-SWIG4 ZMUGHAL 0.04 0.04 Find or build SWIG v4 C/C++ interface generator
Alien-patchelf SLAFFAN 0.01 0.04 Alien package for the patchelf utility
App-vcardtidy MLAWREN v1.0.0_1 v1.0.0_3 tidy up VCARD files
ArrayData-Lingua-Word-EN-Enable PERLANCAR 0.002 0.003 The Enable word list (English)
ArrayData-Lingua-Word-EN-Wordle PERLANCAR 20220306.0.0 20220306.0.1 Wordle…
2022.04.08 05:31

List of new CPAN distributions – Feb 2022

dist author first_version latest_version abstract
API-Eulerian MJONDET v0.1 v0.1 Sample EDW script for querying through REST and get a CSV file
Acme-CPANModules-Foozilla PERLANCAR 0.001 0.001 Ideas for module/script/project name using 'zilla'
Acme-CPANModules-Parse-HumanDate PERLANCAR 0.001 0.001 Modules that parse human date/time expression
App-Greple-frame UTASHIRO 0.01 0.02 Greple frame output module
App-Greple-wordle UTASHIRO 0.01 0.10 wordle module for greple
App-ISBN-Format SKIM 0.01 0.02 Base class and script for ISBN formatting.
App-easyDifferentialGeneCoexpressionWrapper AALAMEER 1 1 easyDifferentialGeneCoexpressionWrapper…
2022.04.08 05:25

List of new CPAN distributions – Jan 2022

dist author first_version latest_version abstract
Acme-CPANModules-Interop-Ruby PERLANCAR 0.001 0.001 Modules/applications that help interoperate with the Ruby world
Acme-CPANModules-KitchenSinks PERLANCAR 0.001 0.001 Kitchen sink libraries
Acme-Signature-Arity TEAM 0.001 0.003 find out how a piece of code expects to be called
Algorithm-Graphs-TransitiveClosure-Tiny AAHAZRED 0.01 1.00 Calculate the transitive closure.
Amazon-SecretsManager BIGFOOT v1.0.0 v1.0.0 AWS Secrets Manager
App-DesktopOpenUtils PERLANCAR 0.001 0.002 Utilities related to Desktop::Open
App-Greple-jq UTASHIRO 0.02 0.05 greple module for jq frontend
App-PerlRelea…
2022.02.03 23:49

CPAN vs Hackage releases, Part 2

Continuing from the first part, I managed to collect data from Jan to Jul 2021 but unfortunately in the middle of August my VM got rebooted and I forgot to re-run the collecting script so these are all the full months 2021 data that I have.

Period CPAN releases CPAN authors Hackage releases Hackage authors
Jan 2021 1184 229 574 229
Feb 2021 1016 223 737 220
Mar 2021 1001 229 783 258
Apr 2021 979 230 540 193
Jun 2021 982 220 491 170
Jul 2021 951 187 562 195

Draw the conclusion yourself. I end my curiosity here, but might compare again in the future.

2022.01.21 04:45

List of new CPAN distributions – Dec 2021

dist author first_version latest_version abstract
ACME-Dzil-Test-daemon DAEMON 0.001 0.001 Module abstract placeholder text
ACME-Dzil-Test-daemon2 DAEMON 0.001 0.001 Module abstract placeholder text
Acme-CPANModules-ShellCompleters PERLANCAR 0.001 0.001 Modules that provide shell tab completion for other commands/scripts
Acme-CPANModules-WorkingWithURL PERLANCAR 0.001 0.001 Working with URL
Alien-libmaxminddb VOEGELAS 1.000 1.000 Find or download and install libmaxminddb
Apache2-Dummy-RequestRec JFF 0.01 0.03 dummy Apache request record class for testing
Apache2-RequestData JFF 0.01 0.02 collects all query and post parameters in a…
2022.01.01 02:25

# where we turn Perl inside out

(cccxcii) 7 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::lcpan - Manage your local CPAN mirror
    • Version: 1.070 on 2022-05-09
    • Votes: 14
    • Previous version: 1.069 was 3 days before
  2. Carmel - CPAN Artifact Repository Manager
    • Version: v0.1.56 on 2022-05-11
    • Votes: 23
    • Previous version: v0.1.46 was 4 days before
  3. Kelp - A web framework light, yet rich in nutrients.
    • Version: 1.06 on 2022-05-09
    • Votes: 44
    • Previous version: 1.05 was 1 year, 3 months, 19 days before
  4. LWP - The World-Wide Web library for Perl
    • Version: 6.65 on 2022-05-09
    • Votes: 156
    • P…
2022.05.14 15:13

(dvi) metacpan weekly report - Carmel

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

Week's winner: Carmel (+5)

Build date: 2022/05/14 13:08:54 GMT


Clicked for first time:


Increasing its reputation:

2022.05.14 15:09

(dxxxiv) stackoverflow perl report

These are the five most rated questions at Stack Overflow last week.
Between brackets: [question score / answers count]
Build date: 2022-05-14 13:07:34 GMT

  1. Why does Types::Standard break Scalar::Util::readonly? - [4/1]
  2. Perl regex - print only modified line (like sed -n 's///p') - [3/2]
  3. multi replace in postgresql query using perl - [2/3]
  4. Perl dynamic / symbolic function reference - [2/2]
  5. How to open a filehandle with an existing variable in perl? - [2/2]
2022.05.14 15:08

(cccxci) 14 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::lcpan - Manage your local CPAN mirror
    • Version: 1.069 on 2022-05-07
    • Votes: 14
    • Previous version: 1.068 was 11 months, 2 days before
  2. Carmel - CPAN Artifact Repository Manager
    • Version: v0.1.45 on 2022-05-07
    • Votes: 18
    • Previous version: v0.1.39 was 2 months, 22 days before
  3. Carton - Perl module dependency manager (aka Bundler for Perl)
    • Version: v1.0.35 on 2022-05-07
    • Votes: 110
    • Previous version: v1.0.34 was 3 years, 10 months, 9 days before
  4. Cpanel::JSON::XS - cPanel fork of JSON…
2022.05.07 16:09

(dv) metacpan weekly report - Carmel

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

Week's winner: Carmel (+3)

Build date: 2022/05/07 14:06:16 GMT


Clicked for first time:


Increasing its reputation:

2022.05.07 16:06

(dxxxiii) stackoverflow perl report

These are the five most rated questions at Stack Overflow last week.
Between brackets: [question score / answers count]
Build date: 2022-05-07 14:04:39 GMT

  1. Wrapping delimited lines, retaining first column, with minimum final length - [4/7]
  2. Using sed with back-references calculated - [2/3]
  3. what the following syntax means in perl? - [2/2]
  4. How to check if a client has disconnected? - [2/1]
  5. Perl ImageMagick: how to disable printing of command output? - [2/1]
2022.05.07 16:05

Recent MetaCPAN News

Source code permalinks are here

<p>Versioned permalinks from source code pages are <a href="https://twitter.com/metacpan/status/1244677954275336200">now available</a></p>
2020.03.29 00:00

Rendering .md files

<p>We're now rendering .md files as HTML instead of as raw code.</p>
2019.10.18 01:54

The traffic is coming

<p>As <a href="https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html">announced</a> in the Perl NOC, search.cpan.org is going to redirect all traffic to MetaCPAN from 25th of June 2018. We are doing lots of work to prepare for this trebling of traffic.</p>
2018.12.02 19:30

MetaHack 2

http: //www.olafalders.com/2017/10/12/announcing-metahack-v2/<br /> <p>https://metacpan.org/about/meta_hack</p> <p>http://blogs.perl.org/users/leo_lapworth/2017/11/metahack-2.html</p>
2017.11.02 19:30

SSL improvements

<p>Our servers have had their SSL configuration upgraded, so we now get an A rating on <a href="https://www.ssllabs.com/ssltest/analyze.html?d=fastapi.metacpan.org">SSL Labs</a>.</p> <p><a href="https://www.fastly.com">Fastly</a> who serve all our content other than the <a href="https://fastapi.metacpan.org/">api</a> already had tight configs... and now so do we. I'd like to thank then for providing both examples, support and an IRC channel where Donald Stufft from the Python infrastructure team was able to hel…
2014.12.02 19:30

Liquid Web is Sponsoring MetaCPAN

<p>We're immensely pleased to announce that <a href="https://www.liquidweb.com/">Liquid Web Inc.</a> is our newest hosting sponsor. This sponsorship entails 3 powerful machines which are provided and co-located by Liquid Web Inc. Having access to this hardware will allow us greater redundancy in addition to giving us powerful machines to use as a staging area when developing new MetaCPAN features. This is a huge development for us and we'd like to thank Liquid Web Inc. for this very kind donation. More details to come!</p>
2014.11.08 03:00

Perl – *n*x

Quo vadis, Perl?

Crossroads

Foto by Carsten Tolkmit 

We’ve had a week of heated discussion within the Perl 6 community. It is the type of debate where everyone seems to lose. It is not the first time we do this and it certainly won’t be the last. It seems to me that we have one of those about every six months. I decided not to link to many reiterations of the debate in order not to feed the fire.

Before defining sides in the discussion it is important to identify the problems that drives the fears and hopes of the community. I don’t think that the latest round of discussions was about the Perl 6 alias in itself (Raku), but…

2018.11.08 20:18

So, what about (Perl 6) dependencies?

DependenciesWhen I need to program something, most of the time I use Perl 5, Go or Perl 6. Which one depends on the existence and maturity of libraries and the deployment strategy (and I must admit, probably my mood). Most applications I write at work are not that big, but they need to be stable and secure. Some end up in production as an extension or addition to the software that is the core of our authentication and authorisation infrastructure. Some programs are managed by other teams, e.g. of sysadmin-type applications like the monitoring of a complex chain of microservices. Finally, proof of concept…

2017.05.28 11:42

rakudo-pkg: Create OS packages for Rakudo Perl 6 using Docker

camelia-logo

There was an interesting discussion on #perl6 (irc.freenode.net) about the use of rakudobrew as a way for end-users to install Rakudo Perl 6 (see how-to-get-rakudo).

rakudobrew, inspired by perlbrew, is a way to manage (and compile) different versions of rakudo. nine argued that it’s primarily meant as a tool for rakudo developers. Because of the increased complexity (e.g. when dealing with modules) it’s not targeted at end-users. While being a big fan of rakudobrew, I agree with nine.

The problem is that there are no Linux binaries on the download page (there are for MacOS and Windows), so user…

2016.09.05 10:41

Vim as a Perl 6 editor

EDITED on 20170211: syntastic-perl6 configuration changes

If you’re a Vim user you probably use it for almost everything. Out of the box, Perl 6 support is rather limited. That’s why many people use editors like Atom for Perl 6 code.

What if with a few plugins you could configure vim to be a great Perl 6 editor? I made the following notes while configuring Vim on my main machine running Ubuntu 16.04. The instructions should be trivially easy to port to other distributions or Operating Systems. Skip the applicable steps if you already have a working vim setup (i.e. do not overwrite you .vimrc fil…

2016.08.20 23:17

Please test: first release of syntastic-perl6, a vim syntax checker

Vimlogo.svgI think that Perl 6, as a fairly new language, needs good tooling not only to attract new programmers but also to make the job of Perl 6 programmers more enjoyable. If you’ve worked with an IDE before, you certainly agree that syntax checking is one of those things that we take for granted. Syntastic-perl6 is a plugin that adds Perl 6 syntax checking in Vim using Syntastic. Syntastic is the leading Vim plugin for syntax checking. It supports many programming languages.

If the plugin proves to be useful, I plan on a parallel track for Perl 6 support in Vim. On one hand, this plugin will track th…

2016.08.20 21:16

Perl Web Frameworks

Spider webs and spiders

CGI

When I started programming, back in the day, CGI (the Common Gateway Interface) was still widely used. Usually the Apache webserver would just execute a script or a binary with some environment variables set and serve whatever the executable sent to the standard output, while keeping the standard error in the logs.

This simple and straightforward mechanism can still be used for small programs, but larger applications usually want to save the start-up time and live longer than just a single request.

At that time Perl was used far more often than now, and it had (and still has) the CGI.pm modul…

2022.04.19 00:00

Full-text search on a budget: Xapian

Mounted telescope monocular pointing through a wire fence

Over the years I’ve seen and implemented different full-text search applications using various technologies: plain SQL, PostgreSQL, Elasticsearch, Solr, and most recently Xapian.

While Solr and Elasticsearch are very well known, Xapian, despite the fact that it’s available and packaged in all the major GNU/Linux distributions, doesn’t seem to be so popular, at least not among project managers.

But Xapian is fast, advanced, can be configured to do faceted searches (so the user can filter the search results), and my favorite, is fast to build and has virtually no maintenance overhead.

Its main feat…

2021.08.19 00:00

Regular Expression Inconsistencies With Unicode

A mud run
A casual stroll through the world of Unicode and regular expressions—​Photo by Presidio of Monterey

Character classes in regular expressions are an extremely useful and widespread feature, but there are some relatively recent changes that you might not know of.

The issue stems from how different programming languages, locales, and character encodings treat predefined character classes. Take, for example, the expression \w which was introduced in Perl around the year 1990 (along with \d and \s and their inverted sets \W, \D, and \S).

The \w shorthand is a character class that matches “word charact…

2018.01.23 00:00

Postgres migrating SQL_ASCII to UTF-8 with fix_latin


(photograph by NOAA National Ocean Service)

Upgrading Postgres is not quite as painful as it used to be, thanks primarily to the pg_upgrade program, but there are times when it simply cannot be used. We recently had an existing End Point client come to us requesting help upgrading from their current Postgres database (version 9.2) to the latest version (9.6—​but soon to be 10). They also wanted to finally move away from their SQL_ASCII encoding to UTF-8. As this meant that pg_upgrade could not be used, we also took the opportunity to enable checksums as well (this change cannot be done via pg_u…

2017.07.21 00:00

Postal code pain and fun

We do a lot of ecommerce development at End Point. You know the usual flow as a customer: Select products, add to the shopping cart, then check out. Checkout asks questions about the buyer, payment, and delivery, at least. Some online sales are for “soft goods”, downloadable items that don’t require a delivery address. Much of online sales are still for physical goods to be delivered to an address. For that, a postal code or zip code is usually required.

No postal code?

I say usually because there are some countries that do not use postal codes at all. An ecommerce site that expects to ship prod…

2017.05.10 00:00

Perl Dancer Conference 2016 Day 1

Perl Dancer Conference Day 1

The Perl Dancer Conference is a great event, now in its third year. The event took place in the same location as last year in Vienna, Austria at the Hotel Schani Wien. For those of you who have never visited Vienna, it is a perfect place to bring the family. From visiting the beautiful parks to taking a scenic ride on the Danube River, the beautiful and historic city is known for its rich art and musical culture, and has much to offer.

I was very excited to not only attend but also give a talk this year. My talk titled “Dancing in the Clouds” also coincided with the…

2016.11.30 00:00

Perl Jobs

Programmer/Analyst - Perl, Sydney, New South Wales, Australia (Modis)

Looking for someone with 7+ Years of experience in IT.

Demonstrated knowledge and experience in the following technologies:
1. UNIX/Linux OS including shell scripting
2. Perl
3. XML
4. Java
5. SQL
6. Web based technologies

Knowledge and experience in the following technologies would be highly regarded:
1. Oracle/DB2 Applications development and/or DBA experience
2. C/C++
3. Document formats PDF/PostScript/AFP

Knowledge of the following is not essential, however, would be acknowledged:
1. DB or other RDBMS
2. MS Visual Basic
3. Marklogic
4. Python

• Problem solving/analytical skills
• Understan…
2022.05.16

Perl Web Developer, Portland, OR (Remote) (PCD Group)

PCD Group (pcdgroup.com/), a digital agency in Portland, OR is looking for a Perl Web Developer to join our team. The Perl Web Developer is responsible for writing code from scratch, using frameworks from existing code-bases, as well as updating legacy applications.
2022.05.11

Software Engineer - Perl, Tampa, FL (Vector Solutions)

Vector Solutions serves everyday heroes by delivering intelligent software solutions that empower them to make safer, smarter, better decisions. We believe passionately in providing critical knowledge, when, where, and how they need it. Everything we do - from learning to workforce management to risk reduction and beyond - is done to elevate the safety and success of our clients and the communities they serve. Join our mission.

Vector Solutions is currently seeking a Software Engineer who has knowledge and a passion for analysis, design and implementation in a business-critical environment.
2022.05.11

Operational Support System Developer, Copenhagen (Telia Company Danmark A/S)

About the job
Is this your next opportunity?

As an Operational Support System (OSS) Developer you will be part of team that operate and develop on the different OSS systems supporting of our transmission infrastructure. Our team is moving towards a DevOps organization where software developers work closely together with network design and operation teams aiming to implement a near zero-touch ways of working, where most of our actions are automated. One of your main focus areas will be on automating customer implementation, thus getting deep knowledge on how our products are and how they are im…
2022.05.10

Perl/Dancer2 Developer to Assist NFP, Melbourne VIC, Australia (Australian Volunteer Coast Guard)

We have a membership management database tool developed in Dancer2 with some additional automations that interact with our Google Workspace System.

There are a few minor bugs that require attention and completion of some additional features that we are looking to undertake.

You will be working remote, although a bonus if you are located in Australia.

If you are interested, please get in touch - happy to show you the platform and code before you commit. There would likely be ongoing work to maintain the platform for the right developer.
2022.05.09

Perl Developer, NJ (Connexions Data Inc.)

Description
Years of Experience: 5 years
Education Requirements: A Bachelor’s Degree in engineering, or a related scientific or technical discipline is required.
Program Description: Create an end-to-end management perspective to ensure proper compliance and oversight of GI Bill programs, and the use of data and business intelligence to monitor and measure school and student outcomes.
Position Description: Design, build and configure applications to meet business process and application requirements. Object oriented Perl Programming with PostgreSQL Database experience.
2022.05.03

Software Engineer - Perl Contractor, Tampa, FL (Vector Solutions)

Vector Solutions serves everyday heroes by delivering intelligent software solutions that empower them to make safer, smarter, better decisions. We believe passionately in providing critical knowledge, when, where, and how they need it. Everything we do - from learning to workforce management to risk reduction and beyond - is done to elevate the safety and success of our clients and the communities they serve. Join our mission.

Vector Solutions is currently seeking a Software Engineer who has knowledge and a passion for analysis, design and implementation in a business-critical environment.
2022.05.03

PERL DEVELOPER, remote/ USA only (Forian Inc)

Works on existing PERL programs within the DevOps team
Designs, develops, tests, maintains, and enhances software and/or databases
Sets best practices for the software development process: coding standards, testing, change management, build automation, release planning and deployment
Provides guidance on technical and design issues
Investigates and debugs problems using a variety of analytical skills, techniques, and resources
2022.04.25