phpc.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A server for PHP programmers & friends. Join us for discussions on the PHP programming language, frameworks, packages, tools, open source, tech, life, and more.

Administered by:

Server stats:

798
active users

#perl

12 posts9 participants0 posts today
vague 🔥<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@ferki" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ferki</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@verzulli" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>verzulli</span></a></span> If I understand your requirements correctly, you could install a <a href="https://social.linux.pizza/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a> version with <a href="https://social.linux.pizza/tags/perlbrew" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perlbrew</span></a> on your local machine, install your required modules with <a href="https://social.linux.pizza/tags/cpanm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cpanm</span></a> and provided libraries match between your dev and prod machines you can just copy the perl directory and run the perl with full path in the new location.<br>If there is a library mismatch you are in a bit of pain to get it to work no matter what you do.<br>May I suggest you build the restapi with <a href="https://social.linux.pizza/tags/mojolicious" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mojolicious</span></a>?</p>
Damiano Verzulli<p>I'm still struggling building a development chain for a <a href="https://fosstodon.org/tags/PERL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PERL</span></a> application (a REST-API server), that I'm writing on my notebook and want to ship on several air-gapped production servers.<br>I cannot run container images on target servers, so docker/podman are a no go.</p><p>To avoid problems with dependencies, I heavily searched for some "bundler" (like <a href="https://fosstodon.org/tags/esbuild" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>esbuild</span></a> I'm using for Node), but I failed 😠 . I met <a href="https://fosstodon.org/tags/carton" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>carton</span></a> but as it need to be run on production, this is a no-go as well...</p><p>Any suggestion?</p>
DJ Adams<p>Fav thing this morning, after joining the local library here, an email with a genuine cgi-bin URL and a Perl program on the backend (given the URL ending) still in service! Made my heart sing.</p><p><a href="https://hachyderm.io/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> <a href="https://hachyderm.io/tags/OldSchool" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OldSchool</span></a></p>
Denny<p>Lustiges aus der Welt von <a href="https://bunt.social/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a> und <a href="https://bunt.social/tags/debian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>debian</span></a></p><p>Wie haben zwei neue VMs hingestellt und unser Payment Gateway installiert. Der Core wurde Ende der 90‘er in Perl geschrieben und ist mit heftigen Erweiterungen heute immer noch im Einsatz. Dummerweise haben die neuen aus $1000.05 $1000 gemacht, weil ein Perl Modul gefehlt hat. Ich glaube, es war libmath-bigint-perl.</p><p>Zu blöd, dass es keine Fehlermeldung gab. Ich tippe drauf, dass es früher eine Paketabhängigkeit gab, die es unter 12 nicht mehr gibt.</p>
Kake<p>Added Math::Polygon to my Perl and I can now generate the Fibonacci snowflakes including their sashiko innards. Here are the order 5 and 6 snowflakes.</p><p><a href="https://sunny.garden/tags/MathsArt" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MathsArt</span></a> <a href="https://sunny.garden/tags/Sashiko" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Sashiko</span></a> <a href="https://sunny.garden/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a></p>
Ænðr E. Feldstraw<p>I just saw a malware exploit programmed this year in the <a href="https://mastodon.social/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a> programming language. Perl. This year. <br> <br>At first I thought it might be PHP. But some of the keywords struck me as odd, and it definitely was reading command-line arguments, a feature not regularly on display in PHP as it's geared to web page generation. <br> <br>Then I thought maybe it's c. But it used object-oriented method accessors and had no header imports. <br> <br>Perl. Still used in many a Linux and Unix-based distro. And in malware.</p>
FErki<p>While ad-hoc commands provide a good way to start with Rex, the friendly automation framework, we often have to repeat our procedures, or enable others to follow the same steps too.</p><p>Like Make uses Makefile to describe actions, Rex uses Rexfile to describe our common procedures as code through the following foundational elements:</p><p>- dependencies<br>- configuration<br>- inventory<br>- authentication<br>- tasks<br>- arbitrary Perl code</p><p>I take an initial look at those at: <a href="https://blog.ferki.it/2025/04/02/rexfile-foundations/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.ferki.it/2025/04/02/rexfi</span><span class="invisible">le-foundations/</span></a></p><p><a href="https://fosstodon.org/tags/rex" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rex</span></a> <a href="https://fosstodon.org/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a></p>
Leanpub<p>Data Munging With Perl [2ed]: Techniques for data recognition, parsing, transformation and filtering <a href="https://leanpub.com/datamungingwithperl" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">leanpub.com/datamungingwithperl</span><span class="invisible"></span></a> by Dave Cross is the featured book on the Leanpub homepage! <a href="https://leanpub.com" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">leanpub.com</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> <a href="https://mastodon.social/tags/DataStructures" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DataStructures</span></a> <a href="https://mastodon.social/tags/SoftwareEngineering" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SoftwareEngineering</span></a> <a href="https://mastodon.social/tags/books" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>books</span></a> <a href="https://mastodon.social/tags/ebooks" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ebooks</span></a></p>
Christos Argyropoulos MD, PhD<p>I have not tried the module yet, but this one is interesting ... and confirms (my bias?) that the chatbots are pretty good in generating <a href="https://mstdn.science/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> code. In this case, the work used <a href="https://mstdn.science/tags/Grok" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Grok</span></a> and <a href="https://mstdn.science/tags/ChatGPT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ChatGPT</span></a>.</p><p><a href="https://www.reddit.com/r/perl/s/8I37sMk4SG" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">reddit.com/r/perl/s/8I37sMk4SG</span><span class="invisible"></span></a></p>
Jonathan Lamothe<p>I am in urgent job search mode, so I'm gonna throw this out here and see if anything comes of it.</p><p>I am a <a href="https://social.jlamothe.net/search?tag=Canadian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Canadian</span></a>, fluent in both <a href="https://social.jlamothe.net/search?tag=English" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>English</span></a> and <a href="https://social.jlamothe.net/search?tag=French" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>French</span></a>. I have experience with several programming languages. My strongest proficiency is with <a href="https://social.jlamothe.net/search?tag=Haskell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Haskell</span></a> and <a href="https://social.jlamothe.net/search?tag=C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a>. I also have a reasonable grasp of <a href="https://social.jlamothe.net/search?tag=HTML" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HTML</span></a>, <a href="https://social.jlamothe.net/search?tag=JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a>, <a href="https://social.jlamothe.net/search?tag=SQL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SQL</span></a>, <a href="https://social.jlamothe.net/search?tag=Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a>, <a href="https://social.jlamothe.net/search?tag=Lua" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lua</span></a>, <a href="https://social.jlamothe.net/search?tag=Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> system administration, <a href="https://social.jlamothe.net/search?tag=bash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bash</span></a> scripting, <a href="https://social.jlamothe.net/search?tag=Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a>, <a href="https://social.jlamothe.net/search?tag=AWK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AWK</span></a>, some <a href="https://social.jlamothe.net/search?tag=Lisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lisp</span></a> (common, scheme, and emacs), and probably several others I've forgotten to mention.</p><p>I am not necessarily looking for something in tech. I just need something stable. I have done everything from software development, to customer support, to factory work, though my current circumstances make in-person work more difficult than remote work. I have been regarded as a hard worker in every job I have ever held.</p><p><a href="https://social.jlamothe.net/search?tag=GetFediHired" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GetFediHired</span></a></p>
Julien Riou<p>There was at least one positive thing these last days. One of our team has decided on their own to rewrite their Perl/MongoDB stack to Go/PostgreSQL/TimescaleDB. This is beautiful.</p><p><a href="https://hachyderm.io/tags/postgresql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>postgresql</span></a> <a href="https://hachyderm.io/tags/mongodb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mongodb</span></a> <a href="https://hachyderm.io/tags/go" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>go</span></a> <a href="https://hachyderm.io/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a></p>
Mark Gardner<p>I’ve really enjoyed working with <span class="h-card"><a class="u-url mention" href="https://fosstodon.org/@ology" rel="nofollow noopener noreferrer" target="_blank">@<span>ology</span></a></span> on his toolkit for scoring <a class="hashtag" href="https://ack.nerdfight.online/tag/midi" rel="nofollow noopener noreferrer" target="_blank">#MIDI</a> <a class="hashtag" href="https://ack.nerdfight.online/tag/drumming" rel="nofollow noopener noreferrer" target="_blank">#drumming</a>, <a href="https://metacpan.org/dist/MIDI-Drummer-Tiny" rel="nofollow noopener noreferrer" target="_blank">MIDI-Drummer-Tiny</a>. He’s patiently answered my questions and had the grace to accept <a href="https://github.com/ology/MIDI-Drummer-Tiny/commits?author=mjgardner" rel="nofollow noopener noreferrer" target="_blank">my pull requests</a>, most of which haven’t so much added new features as they’ve helped clarify how to use the library successfully.</p><p>Gene has helped me get back into the swing of <a class="hashtag" href="https://ack.nerdfight.online/tag/perl" rel="nofollow noopener noreferrer" target="_blank">#Perl</a> <a class="hashtag" href="https://ack.nerdfight.online/tag/programming" rel="nofollow noopener noreferrer" target="_blank">#programming</a> after months of inactivity, and I’m looking forward to working with him more in the future. I couldn’t have asked for a better collaborator.</p>
Jess Robinson<p>Yesterday: Deployed <a href="https://fosstodon.org/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a> db-to-api tool <a href="https://metacpan.org/pod/WebAPI::DBIC" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">metacpan.org/pod/WebAPI::DBIC</span><span class="invisible"></span></a>, once for a project where folks now don’t have the “I don’t write Perl” excuse to contribute, and once against <a href="https://fosstodon.org/tags/Mobilizon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mobilizon</span></a>, cos I just give up with <a href="https://fosstodon.org/tags/graphql" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>graphql</span></a>. Now I have to deal with the it’s db schema instead <a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
Revista Occam's Razor<p><a href="https://masto.es/tags/SolucionarioDelProgramador" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SolucionarioDelProgramador</span></a> <a href="https://masto.es/tags/GNU_linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GNU_linux</span></a> : Bucles en <a href="https://masto.es/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> </p><p><a href="https://masto.es/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://masto.es/tags/programacion" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programacion</span></a> <a href="https://masto.es/tags/bucles" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bucles</span></a> <a href="https://masto.es/tags/loops" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>loops</span></a> </p><p><a href="https://ibolcode.net/roor/2025-03-bucles-en-perl" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ibolcode.net/roor/2025-03-bucl</span><span class="invisible">es-en-perl</span></a></p>
Mark<p>As a <a href="https://hard.blue/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> programmer this kind of misunderstanding and intolerance is all too familiar. 😒 <a href="https://hard.blue/tags/coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>coding</span></a> <br><a href="https://mastodon.social/@abratus/114205735363067363" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.social/@abratus/11420</span><span class="invisible">5735363067363</span></a></p>
Jonathan Kamens<p><span class="h-card" translate="no"><a href="https://bsd.network/@dch" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>dch</span></a></span> The script looks up the whois records for the IP addresses and does rudimentary parsing on them to find the abuse emails.<br>I cleaned up the script barely enough to share it and posted it here:<br><a href="https://gist.github.com/jikamens/58d67acfd6c45524eaf1f5615627d8e6" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/jikamens/58d67</span><span class="invisible">acfd6c45524eaf1f5615627d8e6</span></a><br>I don't know if it'll be particularly useful to anyone else 🤷, especially since I wrote it in <a href="https://federate.social/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> and who _does_ that nowadays. 😉</p>
FErki<p>We consider enabling graceful bootstrapping as one of our main guiding principles around Rex, the friendly automation framework.</p><p>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.</p><p>Let’s see what I found through this exercise in minimalism: <a href="https://blog.ferki.it/2025/03/21/minimum-viable-rex/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.ferki.it/2025/03/21/minim</span><span class="invisible">um-viable-rex/</span></a></p><p><a href="https://fosstodon.org/tags/rex" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rex</span></a> <a href="https://fosstodon.org/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a></p>
Felix 🇺🇦🚴‍♂️🇨🇦🇬🇱🇩🇰🇲🇽🇵🇦 🇪🇺<p>In some packages on <a href="https://norden.social/tags/metacpan" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>metacpan</span></a> 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<br>Perl versions, but surely this prevents new <a href="https://norden.social/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a> features from spreading very slowly?</p>
Felix 🇺🇦🚴‍♂️🇨🇦🇬🇱🇩🇰🇲🇽🇵🇦 🇪🇺<p>Hello <a href="https://norden.social/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a> 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 <a href="https://norden.social/tags/perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>perl</span></a> version.</p>
Paul Cochrane 🇪🇺<p>An article from last year’s <a href="https://mastodon.social/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> Advent Calendar gave me an idea. As is often the case, that idea spawned other ideas. One of those new ideas raised the question: “How do I get all tram lines and tram stops in Hannover, Germany from <a href="https://mastodon.social/tags/OpenStreetMap" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenStreetMap</span></a>?”. Here’s my answer to that question, implemented–because reasons–in <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a>.</p><p><a href="https://peateasea.de/getting-tram-stops-in-hannover-from-openstreetmap/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">peateasea.de/getting-tram-stop</span><span class="invisible">s-in-hannover-from-openstreetmap/</span></a></p>