Skip to main content



BIMI object

Changes for 3.20240402 - 2024-04-02

  • Record: Fix bug in parser where spaces around a '=' would cause validation to fail


Greetings monks, question about reorganizing a Perl module, and if the following is a good approach:

The module is 7300 lines in one file and has 106 subs. I'll call it Cat.pm, its mostly called as an object like Cat->new(); but could be called like Cat->black() or Cat::Black::meow

To simplify maintaining this file I am thinking I can make a new sub directory in the same folder as the file call it Cat/ and move the 105 of the 106 subs to about 12 or 15 new .pm's in the new folder.

I plan later to rewrite one or more of those as XS modules. Cat/Tabby_XS.pm etc.

Then in Cat.pm I would just have use Cat::Black; use Cat::White; use Cat:;tabby; ...etc in Cat.pm

The only sub I'd keep in Cat.pm is sub new which looks like this:

sub new { #Object Interface #http://www.perl.com/pub/1999/09/refererents.html my $type = shift; my $self = {}; $self->{dbh} = shift; bless $self, $type; $self; } 

I have a book on cleaning up old perl code but it is now a very old book LOL, will moving the subroutines to new files break old code that depends on Cat.pm? TIA

submitted by /u/bug_splat
[link] [comments]




Decide whether to allow a client to run this script

Changes for 0.05 - 2024-04-02T16:26:14Z

  • Calling new on an object now returns a clone rather than setting the defaults in the new object


Easily format content into PDF/PS/DVI with LaTeX templates.

Changes for 0.05 - 2024-04-02

  • Enhanced the ability to pass parameters to the Text::Xslate template engine and created a test file to test setting the search paths for included templates. Method 'templater_parameters()' has been removed. Now, parameters to Text::Xslate template engine can only be passed during construction of LaTeX::Easy::Templates. Test files under "xt/" are now included in the distribution, they were omitted in previous releases. Test files above 300 have been restructured and renamed. Enhanced documentation.


A health check for your code

Changes for v1.9.0 - 2024-04-02T19:56:08Z

  • No changes found






cat-v command implementation

Changes for 0.9902 - 2024-04-02T10:12:53Z

  • make option -t to take tab width


Grammar for graphs

Changes for 0.1.1 - 2024-04-02

  • Add NAME section so MetaCPAN recognises module (GH#1).


SPVM Language

Changes for 0.989097 - 2023-04-02

  • Imcompatible Changes
  • Compilation Error Messsage Improvement
  • Document Fix and Improvement


Easy to use REPL with existing lexical support and DWIM tab completion.

Changes for 0.18

  • 2024-04-02
  • Updated pod.




Sah schemas related to Perl

Changes for 0.050 - 2024-02-16

  • Rename module/dist Sah-Schema{s,Bundle}-Perl following rename of Sah-Schema{s,Bundle} (for visual clarity and consistency with naming of other bundles).
  • [ux] Allow Foo//Bar (in addition to Foo/Bar) to be normalized as Foo::Bar.


find perl root and push lib modules path to @INC

Changes for 0.04 - 2024-04-01T22:07:19Z

  • add dependencys to cpanfile Cwd, Path::Tiny



Easily send emails from Mojolicious applications

Changes for 0.01 - 2024-03-29T09:02:38-05:00

  • First public release



Audit CPAN distributions for known vulnerabilities

Changes for 20240401.002 - 2024-04-01T12:27:17Z

  • Fix some incorrect data in CPANSA-HTTP-Body-2013-4407 (CVE report is wrong). From Stig in briandfoy/cpan-security-advisory#150 .



Audit CPAN distributions for known vulnerabilities

Changes for 20240401.001 - 2024-04-01T11:50:11Z

  • data update for 2024-04-01
  • fix data issue for Mojolicious report (briandfoy/cpan-security-advisory#149) (Timothy Legge)


cat-v command implementation

Changes for 0.9901 - 2024-04-01T10:20:20Z

  • organized docs directory


PDF DateTime Parser and Formatter.

Changes for 0.01 - 2024-04-01T11:22:08+02:00

  • First version.



Synthesizer settings librarian

Changes for 0.0042 - 2024-03-31T20:12:33Z

  • Fix eg/visualize.pl and Module.yaml.



Libdeflate compression library

Changes for 0.08_01 - 2024-04-01

  • Try to do something about version mistakes


Schemas related to filesystem path

Changes for 0.031 - 2024-02-16

  • Rename module/dist Sah-Schema{s,Bundle}-Path following rename of Sah-Schema{s,Bundle} (for visual clarity and consistency with naming of other bundles).







Synthesizer settings librarian

Changes for 0.0041 - 2024-03-31T13:16:21Z

  • Improve documentation.
  • Improve eg/synth-config-mojo.pl.
  • Add the eg/visualize.pl program.
  • WIP: Add spec things to the databasse.


find perl root and push lib modules path to @INC

Changes for 0.03 - 2024-03-31T20:04:42Z

  • update docs, add examples of current features


Shamelessly copied Tk::Tree widget

Changes for 0.03

  • Added -leftrightcall callback.


Perl Data Language

Changes for 2.086 - 2024-03-31

  • fix 64-bit problem in Minuit revealed by LTO (#468) - thanks @eli-schwartz for report
  • add pdl.ntrans_children to speed up destroying ndarrays (#421,#451)
#421 #468 #451


Amazon Links and Buttons - Perl Hacks submitted by /u/davorg
[link] [comments]


Shamelessly copied Tk::Tree widget

Changes for 0.02

  • Configured Left and Right key to open and close branches. Corrected documentation.



Tied objects

Changes for 0.20 - 2024-03-30

  • Adds clear_meta and set_meta on Rope so that you can manipulate an Objects meta definition
  • Extends CONFIGURE PROPERTIES with predicates and clearers



create diffs between HTTP requests

Changes for 0.07 - 2024-03-30

  • Switch tests from YAML to YAML::PP This is mainly to avoid YAML::Syck being loaded, which can't handle some of our YAML (?!)


This isn't directly perl-related, but it's a good reminder that as the bus-factor of our projects dwindle down to 0, the danger of a dependency attack goes up.

Obligatory XKCD

The story is still unfolding, and I've just been reading it from the HN post

In this case, it appears that the maintainer of xz-utils, who has been maintaining it since 2009 and mentioned online that they don't really have the capacity for it anymore finally had a motivated helper show up to assist with the work 2.5 years ago. That motivated helper now appears to either be a long-con state actor, or a compromised account.

liblzma is used by libsystemd. Redhat and Debian patch ssh to use libsystemd. The startup code of libxz detects when it is loaded into sshd during initialization and replaces a core auth function of sshd with its own copy. The malicious code comes from compressed compiled code within one of the libxz unit test files that gets sneakily injected into the build during the ./configure script. The person who discovered it only found it due to valgrind errors and a slower startup time for ssh, which are mistakes a more sophisticated attacker might not have made.

Oh, and of course the question on everyone's mind, you're probably not affected yet because the latest liblzma is only used in pre-release distros right now. But check if you have xz 5.6 or later. However, the author has been contributing to xz for 2.5 years so who knows if this is the first attack or not...

submitted by /u/nrdvana
[link] [comments]



Libdeflate compression library

Changes for 0.08 - 2024-03-30

  • Check compiler when installing and exit if version is too low
  • Include a missing file


Sah schemas related to ArrayData

Changes for 0.005 - 2024-02-16

  • Rename module/dist Sah-Schema{s,Bundle}-ArrayData following rename of Sah-Schema{s,Bundle} (for visual clarity and consistency with naming of other bundles).


Interface to the Qhull convex hull, Delauny triangulation, Voronoi diagram software suite

Changes for 0.06 - 2024-03-29T17:56:08-04:00

  • BUG FIX