#perl

38 posts · Last used 6d

Back to Timeline
C++ Wage Slave @CppGuy@infosec.space · 6d ago
Replying to @erinaceus@chaos.social
@erinaceus@chaos.social Right. It really depends on the job in hand. For simple and obvious fixes, just a few #test cases might be enough. For a larger feature or one with lots of tricky edge conditions, I might write tens or hundreds. Occasionally (for things like numeric rounding or date-formatting near boundary conditions or line-wrapping UTF-8 text) I'll write a #Perl script to autogenerate some of them. I don't use an #LLM to write tests for the same reason that I don't ask QA to write the tests for me: I have a deeper understanding of how the code works, the problems and bugs I encountered while writing it, and sometimes the bugs that a future maintainer might allow to slip in. I do ask #QA to review the tests to make sure I've not missed anything. Knowing that a review is coming helps to keep me honest. I have a fairly radical view that the tests are almost more important than the shipping #code, because a good set of tests enables you to overhaul and improve the code in ways that would otherwise be too dangerous. Lack of tests leads to small, timid localised fixes, which leads to a dense thicket of special cases, which leads to an unmaintainable codebase that eventually has to be thrown away. If you don't have decent tests then, sooner or later, you won't have a product. @icing@chaos.social
0
0
0
Simon Brooke @simon_brooke@mastodon.scot · Aug 05, 2026
Replying to @screwlisp@gamerplus.org

@screwlisp@gamerplus.org @ramin_hal9001@fe.disroot.org "The great thing about #Lisp is that it has extremely simple syntax"

... except, of course, for #CommonLisp which is a complete baroque mess.

Of course, it's largely a complete baroque mess because reader macros, and reader macros are useful shorthand, but #$(words)? Really?

And noted also that #Clojure has its own baroquery hard-coded into its reader (#{:a :b [:c @D@mastodon.scot]}, anyone?), which is arguably worse, but...

This might as well be #Perl.

3
1
0
Bruce Heerssen @bruce@darkmoon.social · Aug 04, 2026
Ok, fedi, having a bit of a perl problem. Perldoc isn't working. Whenever I search for a module that it can find, it displays a read error. (Modules that it can't find return the expected not found error.) Anyone know how to fix this? Search isn't helping. Coding a perl project is gonna be a bit tough without any documentation. #perl #coding
2
2
4
Jacob Alexander Tice @daemonspudguy@app.wafrn.net · Aug 03, 2026
AI and also a spicy take on a programming language that's divisive. Hover or focus to reveal Sensitive
https://github.com/Perl/perl5/pull/24619/files Not surprised. Perl sucks anyways and to be honest if anyone actually can write it without a machine that's impressive because Perl is genuinely just incomprehensible so the one programming language in the world I'd think would accept LLM extruded contributions is indeed Perl. #NoAI #LLM #Perl #programming #AI #GenAI
0
0
0
marocddot @marocddot@hachyderm.io · Jul 26, 2026
"...the street finds its own uses for things" (William Gibson, Burning Chrome) is probably my favorite literary line to quote, regarding use of tech. It's something of a mantra I repeat to remind myself that every technology created, whether through academia or big evil industry, will eventually be co-opted by the people and put to uses never intended. This was the essence of (old school) hacking. My street tools have been #perl #forth #awk and #tcl
12
1
8
"Mutant Rob" Robert Rothenberg @rrwo@infosec.exchange · Jul 28, 2026
I've uploaded a new version of Plack-App-Prerender to #CPAN This is a #Plack #Perl application for a pre-rendering proxy using Chrome. This version fixes a potentially critical security issue, so if you use it, please upgrade ASAP. https://metacpan.org/release/RRWO/Plack-App-Prerender-v0.3.0
0
1
0
"Mutant Rob" Robert Rothenberg @rrwo@infosec.exchange · Jul 27, 2026
Catalyst::View::Wkhtnltopdf new version uploaded to #CPAN with documentation and bug fixes https://metacpan.org/release/RRWO/Catalyst-View-Wkhtmltopdf-v0.6.3 #Perl #Catalyst
0
0
0
marocddot @marocddot@hachyderm.io · Jul 26, 2026
Zero Dependency Programming. Do you have code you can give me that does something useful but doesn't require "installing" stuff to run it? Let's just talk about BSD and Linux based systems. You email me this script. It will save the world from a rogue LLM by issuing some obscure kill switch sequence to a UDP port. We have minutes to save the world. I try to run it and... it depends on version xyz of some component that may be in an internet repo and it may have dependencies too. I am running this from a cloud instance with no installed C compiler nor root permissions. We are doomed. I'm wondering if #perl (sans CPAN) is that zero dependency language I'm looking for.
1
3
0
Paul Johnson @pjcj@infosec.exchange · Jul 26, 2026
Replying to @DrHyde@fosstodon.org
@DrHyde@fosstodon.org Now I just need to get it into a release - hopefully before 2040... #perl #CodeCoverage
0
0
0
Oriel Jutty :hhHHHAAAH: @barubary@infosec.exchange · Jul 26, 2026
WTF is $Pod::Simple::Text::FREAKYMODE? #perl
0
0
0
FoolishOwl @foolishowl@social.coop · Jul 25, 2026
I've toyed with the idea of refreshing my knowledge of Perl. Nearly all the jobs I apply for ask for knowledge of BASH, Python, and occasionally Powershell; I haven't seen a job listing mention Perl in years. Still, it does seem to continue to be under development. A conceptual problem I have with Perl best practices is that there's a lot of emphasis on writing Perl code that's compatible with old versions of the Perl interpreter. But of course, that means not using newer functionality. I've thought the reasonable thing to do would be to write code based on the oldest version of Perl installed on systems I'm supporting on a job. Is that a reasonable approach? #Perl
2
1
1
Dent, Arthur Dent @osunderdog@dmv.community · Jul 25, 2026
Floating around on my bookshelf. #perl #napster I feel old.
5
0
0
marocddot @marocddot@hachyderm.io · Jul 25, 2026
Interesting realization/observation (to me at least). My MacBook (Tahoe 26.1), OpenBSD (7.9) and various Linux laptops, SBCs, etc all have a fairly modern Perl (5.xx) installed by default. I start wondering if I should be writing more of my portable (no dependency) stuff in #perl
4
0
0
"Mutant Rob" Robert Rothenberg @rrwo@infosec.exchange · Jul 24, 2026
I've taken over maintenance of Catalyst::View::Wkhtmltopdf, and released a new version with a security fix, among other changes. This is a view that returns a PDF instead from a HTML template. https://metacpan.org/release/RRWO/Catalyst-View-Wkhtmltopdf-v0.6.0 Note that #wkhtmltopdf is no longer maintained. This module will soon be deprecated. #Perl #Catalyst #CPAN
0
0
0
Daniel Böhmer @dboehmer@ieji.de · Jul 12, 2026
Update: I received extensive feedback by maintainer OALDERS 👍️ Working on it … I am working on adding the new QUERY HTTP method to the Catalyst web framework. As a prerequisite I’ve sent a Pull Request to include the QUERY keyword in #Perl’s HTTP::Message dist: https://github.com/libwww-perl/HTTP-Message/pull/225/changes Does anyone want to review that? Is anyone waiting for QUERY in Catalyst? How about other Perl web frameworks? #CatalystFramework #HTTP #RFC10008
3
0
4
David Cantrell 🏏 @DrHyde@fosstodon.org · Jul 22, 2026
An open source project just fixed a bug that I reported 14 years ago. Surprisingly for such an old bug, the bug fix is still useful to me! https://github.com/pjcj/Devel--Cover/pull/602 Thanks @pjcj@mastodon.cloud! #perl #CodeCoverage
3
1
0
"Mutant Rob" Robert Rothenberg @rrwo@infosec.exchange · Jul 22, 2026
Back in April the #Perl NOC turned off the #CPAN mail forwarding. https://log.perl.org/2026/04/cpanorg-email-forwarding-has-been-shut.html If you're like me, you've been using that for 25+ years, and it's everywhere (and unfortunately that includes spammer lists). Here's what you can do in the meantime, via @timlegge@mas.to @cpansec@fosstodon.org https://security.metacpan.org/2026/06/14/cpan.org-email-forwarding-shutdown.html
0
0
0
jmcnamara @jmcnamara@hachyderm.io · Apr 30, 2026
Perl/CPAN people, I haven't received any emails sent to or forwarded from my cpan.org email address for the last month. It seems to be affecting other users as well. Anyone know anything about this? #perl #cpan #perl
3
1
0
jmcnamara @jmcnamara@hachyderm.io · May 12, 2026
Replying to @jmcnamara@hachyderm.io
Belatedly realised that I have also used jmcnamara@cpan.org for 25+ years of open source contributions and I don’t want to change that (due to the cpan email address forwarding termination). Technically I don’t have to for GitHub style contributions but it wouldn’t work for kernel/mailing list style contributions. I am going backwards through the stages of grief on this one. #perl #cpan #perl
2
0
3
marocddot @marocddot@hachyderm.io · Jul 21, 2026
I miss Perl If a computer language could be hardcore punk, it would be #perl. It annoyed the hell out of developers when I wrote code in it. Over 27 years ago I wrote AFT https://maplefish.com/todd/aft.html (or you can "apt install aft" under Ubuntu) It's been 15 years since I released the latest version and it still works on any basic Perl distro.
6
0
5