fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#perl

23 posts19 participants1 post today

もうこんなテクニックも要らない時代なんだろうなぁ。strict.pm がない Perl 環境なんてさすがにもう今はないだろう

(2014年のテキスト。さっきの 2009年のテキストが投稿されてないかを探している間に目に入った)

>strict.pm が無い環境でも一応エラーにならない use strict の書き方 #Perl - Qiita qiita.com/zetamatta/items/ecfd

Qiitastrict.pm が無い環境でも一応エラーにならない use strict の書き方 - Qiita具体的に言うと、@nifty の「@homepage」(LaCoocanじゃねーぞ)の Perl は strict.pm すら無くてだなぁ、今まで @homepage 向けにいちいち# use s…
Replied in thread

I knew @mjd long ago as part of a small group of us into #Perl & also hard-core academically-minded programming language theory. MJD & I fell out of touch in 2000s. Even back then, I'd've urged anyone to hire MJD if they could. A quick look of his current resume…
plover.com/~mjd/cv/Mark%20Jaso
…shows MJD spent last 20 years becoming even more knowledgeable in all areas of software.

I made this public job reference for MJD completely unsolicited. I hope you'll hire him to work on 100% FOSS, of course!😆

#Perl @PerlWChallenge 314 Task 2: Sort Column
#noxp
```
perl -MPDL -E '
$s=($p=pdl(map{[map{ord}split ""]}@ARGV)->mv(1,0))->qsort;say "@ARGV -> ",($p!=$s)->orover->sum;
' cba daf ghi
```

Habe heute Vormittag im Track "#Backup" einen Vortrag "Alles backupen mit Rsnapshot" auf den #clt2025 gehalten. Es ging um das Programm #Rsnapshot und darum, wie man mit Shell Tools oder einfachen #Perl-Skripen u.ä. regelmäßige Backups von Dingen automatisieren kann, die nicht dafür gemacht sind. Beispielsweise #DDWRT und #Fritzbox OS.

Hier im Relive:
streaming.media.ccc.de/clt25/r

Weitere Infos und Feedback-Link:
chemnitzer.linux-tage.de/2025/

streaming.media.ccc.deRelive: Alles backupen mit Rsnapshot – Chemnitzer Linux-Tage 2025 Streaming
Replied in thread

@dch The script looks up the whois records for the IP addresses and does rudimentary parsing on them to find the abuse emails.
I cleaned up the script barely enough to share it and posted it here:
gist.github.com/jikamens/58d67
I don't know if it'll be particularly useful to anyone else 🤷, especially since I wrote it in #Perl and who _does_ that nowadays. 😉

script for generating complaints about botnets attacking a Synology NAS - nas-botnet-complaint.pl
Gistscript for generating complaints about botnets attacking a Synology NASscript for generating complaints about botnets attacking a Synology NAS - nas-botnet-complaint.pl

We consider enabling graceful bootstrapping as one of our main guiding principles around Rex, the friendly automation framework.

While our “How to get started with Rex” page provides a good initial set of concepts, I wondered about the minimal set of features that already proves useful in practice. I find this especially interesting when using Rex from a cronjob or in a CI/CD pipeline.

Let’s see what I found through this exercise in minimalism: blog.ferki.it/2025/03/21/minim

blog.ferki.itMinimum Viable RexFerenc Erki - agile sysadmin

Hoy le di una oportunidad a #Perl. Cree un generador de passwords aleatorios con la ayuda del chat de #DuckDuckGo, basado en #Claude.

Muy interesante que no se mucho de Perl pero no me costó mucho gracias a Claude y a que se programar en general. Pude mantener una conversación de nivel, editar el programa, corregir errores que introducía.

Todo muy rápido y divertido.

Continued thread

In some packages on #metacpan you can see what the minimum Perl version must be. Is this binding? Looks to me like most packages often support very low Perl versions. Understandable, if you want the package to work with very old
Perl versions, but surely this prevents new #perl features from spreading very slowly?

Hello #perl community, how do you actually do that? For example, if you want to use the really new Perl features (e.g. classes) in your libraries and want to publish them on CPAN. Do you then not use such features? Or can I publish code for different Perl versions? It would be cool if there was something like a Perl transpiler (similar to the JS/typescript world) where you can transpile modern Perl to low level Perl. e.g. when you install a package for a specific #perl version.