Skip to main content

Search

Items tagged with: perl


Importing Modules


Perl modules generally export functions/variables (most of them) or affect the lexical environment (pragmas, like strict/warnings) or are weird. We'll ignore the third kind. Symbol exporters usually affect the package they're used from, but there are some exceptions (e.g. builtin exports to the lexical environment). We'll ignore lexical exporters as well.

Here are some of the ways you can load modules in Perl:

  • use Some::Module; gives you the "default" behavior/exports, whatever that is for a given module.
  • use Some::Module "list", "of", "args"; passes the arguments to the module to do whatever. For symbol exporters this is normally the list of symbols you'd like to import.
  • use Some::Module (); (an explicit empty import list) loads a module without importing anything.
  • require Some::Module; also loads a module without importing anything, but at runtime, not compile time.
  • { use Some::Module; } imports package symbols, but inhibits pragma effects. (For example, { use Moose; } gives you helpers like has or extends, but does not turn on strict/warnings.)
  • package My::Package::_Dummy; use Some::Module; package My::Package; provides the opposite effect: It enables lexical effects, but diverts exported symbols to a different package.

#perl #modules


PerlOnJava reaches a new milestone: it now passes over 100,000 tests from the official Perl test suite, proving its maturity and bringing it closer than ever to full Perl 5 compatibility. #perl #java #jvm

github.com/fglock/PerlOnJava/r…


lolwhut? #perl back in the top 10 of tiobe?? WHO OF YOU DID THAT?? tiobe.com/tiobe-index/
#perl


Dear #Perl #ToolChain #DistZilla lazyfedi,

Is there a plugin that generates repository metadata by just bashing the origin (or other designated) #git remote URL into HTTPS? I don't use the .git suffix for my remote URLs, but it could strip that off for the web key if present.


A memorial, and burial, for [Matt S. Trout a.k.a mst] will be held at 14:00 on Wednesday 30th July in the Much Hoole Woodland Burial Ground.


shadowcat.co.uk/2025/07/20/mem…

#perl #fuck


Dammit, mst. I owe you. You welcomed me to the community, you inspired me, you made me laugh, and you nudged me in the right direction when I said some dumb shit. You didn't even permaban me when I flooded #perl with a kilobyte of combining Unicode characters. I still can't believe you're just ... gone. I wanted to talk to you again.

shadowcat.co.uk/2025/07/09/rip…

#perl


Well fuck. mst had a terrible habit of uh opening his mouth and letting words come out. But very smart, did his damnedest to be kind, usually admitted his failures, and a hell of a lot of energy. A loud, abrasive cornerstone of the #Perl community.

Sounds negative, but no. I'm just acknowledging his issues while saying with full heart that I've missed that fucker and now I'm mad I have to keep missing him.

(profanity included out of respect for the deceased)

shadowcat.co.uk/2025/07/09/rip…

#perl


#perl is fantastic: how could I never have learned of such a beautiful CLI tool?
#perl


I have also uploaded a Dist::Zilla plugin to #CPAN for testing code against mixed Unicode scripts.

metacpan.org/release/RRWO/Dist…

#perl #dzil #security


I have uploaded a new #Perl module to #CPAN that tests files for mixed Unicode.

The idea is to improve #security by testing against confusing and possibly malicious mixtures of character scripts.

metacpan.org/release/RRWO/Test…


Hot take from someone at German Perl Workshop #gpw2025 talking about his recent experience with #Android development:

"#Kotlin is like #Java, #VisualBasic and #Perl had a baby"


I’m looking for work as a senior software #developer. I have a full-stack #WebDev cert, 16+ years #Perl back-end experience, proficiency in multiple other #programming languages.

Databases? Sure, relational *and* NoSQL. Ci/CD? Have done, want to do more. I like working with others, either here in #Houston or remotely across the US.

I’ve been hacking code since the #Commodore PET days. I can certainly delight your customers, whatever your stack.

More here: LinkedIn.com/in/mjgardner

#FediHire


So I've tried to install sophisticated/complicated "local network cloud" storage apps to backup things from any device, to no avail. Bah! So I am just making my own from nuts and bolts with #Perl #mojolicious

It is maybe clunky, but simple and working too:

github.com/ology/JunkDrawer


🚀 Solving Geocoding Challenges with Perl at Geolytica 🌍

Geolytica tackles the tough problem of parsing free-form addresses and matching them to real-world locations! 🖥️✨

From correcting OpenStreetMap Point Of Interest data using in-house AI ("PerlGPT") to maintaining billions of geo-location entities, Perl’s stability and versatility make it the backbone of their geocoding engines for geocoder.ca and geocode.xyz.

perl.com/geolytica-powered-by-…

#perl @perl @tag-perl #programming


Svelte 5 (JavaScript / Typescript) has introduced #Perl syntax ("Runes"). Didn't they mock our sigils for decades?

Ooo they even have $: now, but I missed what that does.

And @render.

#perl


🎵 Create Music with Perl! 🎹

We have another first-time perl.com contributor today. Learn how to generate melodies, harmonies, bass lines, and even complex rhythms using Perl and MIDI tools. This guide by fosstodon.org/@ology covers everything from setting up your first score to crafting algorithmic compositions. 🎼

perl.com/article/creating-midi…

#perl @perl @tag-perl #programming


Nice!

The #Perl mongers map is back!

pm.org/groups/

It's in a bit reduced form since it's hayday, but if you know of a nearby #PerlMongers group that ought to be visible, then you can help put it on the map too:

It's just a quick PR to github.com/perlorg/www.pm.org/… 🤩

Easy-peasy! 😉


Finally got around to adding OpenStreetMaps to #Perl Mongers website. (After Google Maps broke months ago.) pm.org/groups/
#perl


I wrote about adding features to your #MIDI hardware with #Perl

fuzzix.org/enhancing-midi-hard…


A quote from the book that I think you'll like, @ChristosArgyrop :

"If lisp is the result of taking syntax away, Perl is the result of taking syntax all the way." [p.342]
#lisp #perl
en.wikipedia.org/wiki/File:Spi…


Should URI::mysql Switch to DBD::MariaDB?

justatheory.com/2025/01/uri-my…

#perl #sqitch #mysql #mariadb


Among #DuckDuckGo’s $1.1M charitable donations in 2024 was $25,000 to @PerlRakuFoundation to support continued #Perl and #RakuLang #programming, community, and ecosystem #development: spreadprivacy.com/2024-duckduc…

/ @perl


Why yes, @oalders, that is the new #perl logo on our tutorials page

opencagedata.com/tutorials


I wrote a post using #PDL for extraction of line features from images using a Hough transform. Hopefully, it shows PDL's capability for working with ndarrays (even though this is just 2D in both the image and parameter space).

pdl.perl.org/advent/blog/2024/…

#perl #ImageAnalysis #computervision


I really like @oalders’s new logo too! Sorry, @kraih, I think your #Perl5 raptor is out.

/ @perl

#Perl


Foswiki-2.1.9 is now available for download! We are delighted to announce a new release, which includes 57 significant bug fixes compared to the previous 2.1.8 version. This update addresses a range of important issues and enhances the overall stability and performance.

blog.foswiki.org/Blog/Foswiki2…

#foswiki #wiki #perl #foss #opensource


Here's my take on it, when the tile was written about on SciAm. 😀

It's mostly about getting a proper grid happening with #Perl.

ology.github.io/2023/04/30/of-…

#perl


Earlier this month, #duckduckgo donated $25,000 to The Perl and Raku Foundation.

#perl #raku #opensource

perl.com/article/duckduckgo-do…


TIL from the #Perl Advent Calendar about the #Agile meeting tool App::Standup::Diary!

perladvent.org/2024/2024-12-12…

Interesting that it uses Object::Pad (metacpan.org/pod/Object::Pad), which has become a testbed/preview for upcoming features in Perl's (still experimental) new #OOP syntax (perldoc.perl.org/perlclass, code-named #Corinna). I know @leonerd has often asked for more folks to kick the tires on both.

#SoftwareEngineering #coding #programming


The Weekly Challenge Advent Calendar 2024 #Perl
Day 12: Max Positive Negative / Count Equal Divisible
theweeklychallenge.org/blog/ad…
#perl


Yes, the bug is indeed in #MacPorts. Well, in the p5.34-devel-checklib port at any rate.

If #perl #XS is broken for you in Mac Ports then rt.cpan.org/Ticket/Display.htm… may be helpful.


Why is this program valid? I was trying to create a syntax error #perl stackoverflow.com/q/11695110/1…
#perl


My paper about the @metacpan module Task::MemManager is done!
Join me Dec 18th for the talk at Winter 2024 Perl Community #Conference
blogs.perl.org/users/oodler_57…
, showing how one can use the module to share memory between components of multi-language (#C #assembly , #Perl , #PDL) applications .

The package will be discussed in a more applied context in my 2nd talk ("Quest for Performance") in which I will illustrate its use in #OpenMP #C / #Perl @openmp_arb workflows. #Fortran is next!


The Weekly Challenge Advent Calendar 2024 #Perl
Day 1: Leaping from Tree to Tree as They Float Down the Mighty Rivers of British Columbia
theweeklychallenge.org/blog/ad…
#perl


It's midnight somewhere! 🔥

Day 1 of year 25 of The Perl Advent Calendar is now available. 🤶

"While You're Waiting for Corinna" by Ovid. 🎄

perladvent.org/2024/2024-12-01… 🚀

#perl @perl @tag-perl #programming