Skip to main content



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


Perl programming using KDE's Kate editor in Linux tutorial submitted by /u/nmariusp
[link] [comments]


Mojolicious plugin providing CSRF protection at the routing level

Changes for 1.01 - 2024-04-07T13:58:46Z

  • Apply fixes for Mojolicious 9+



A new release of PDL is out! It's been about a year since I last posted on here about a PDL release (last was PDL 2.083).

A selection of changes since PDL 2.083:

  • Diab Jerius reported that a previous change to [xyz]vals to return at least a double had a regression for code that requests an explicit type smaller than that. Fixed in 2.085.
    Diab Jerius also reported several other edge cases: 1, 2, 3 including a fix for vsearch.

    Also, Diab Jerius modularised the primitive ops tests which allows for faster parallel testing.

  • Harald Jörg reported that large arrays would cause PDL::FFT to crash. Fixed by switching from the stack VLAs to heap allocation. Fixed in 2.085.
    While it is recommended to use PDL::FFTW3 instead, PDL::FFT is bundled with PDL for the cases where PDL::FFTW3 can not be easily installed.
  • Bas Couwenberg reported and fixed a previously deprecated API in HDF4 which has now been removed and replaced. Fixed in 2.085.
    As part of the Debian release process, Bas Couwenberg reported a failure on i386. Fixed in 2.087.
  • Shawn Laffan provided an improvement to PDL::GIS::Proj so that it would load correctly on Windows via Alien::proj.
  • Po-Chuan Hsieh provided a build fix for FreeBSD on amd64. I also happened to talk to James E Keenan around the same time about PDL builds on FreeBSD so this was followed up by adding CI testing for FreeBSD. Fixed in 2.085.
  • Ryan Egesdahl provided a fix for macOS Ventura which changed the location of GLUT headers. Fixed in 2.085.
  • Eli Schwartz reported an upstream Gentoo bug when building with LTO that uncovered 64-bit issues in Minuit and Slatec Fortran code. Fixed in 2.086.
  • @vadim-160102 reported several issues with stringification: 1, 2; one of which uncovered a bug in conversion of ulonglong to Perl scalar.
  • Karl Glazebrook, @vadim-160102, and users from PerlMonks provided valuable reports in tracking down issues with dataflow https://github.com/PDLPorters/pdl/issues/461. Fix available in 2.086.
  • Jörg Sommrey contributed improved typemap handling which allows for using the typemap definitions that are available in Perl's default typemap. Available in 2.086.
  • Ed has added many improvements to the PP code generator and internal API as well as several new functions. Please see the Changes file for details!
    Of note are several speed improvements that are inspired by Eric Wheeler's note about the speed of sequence().

A full list of closed issues and PRs is here. Thanks to all the contributors!

There are also some things to report from the wider World of PDL:

  • Jörg Sommrey has released a PDL interface to GLPK (GNU Linear Programming Kit) for mathematical optimization: https://metacpan.org/pod/PDL::Opt::GLPK.
  • The PGPLOT distribution now incorporates PDL::Graphics::PGPLOT module that was in the PDL distribution. The dependencies remain the same.
  • PDL::Graphics::Simple had some small updates to the drivers. This is preparation for splitting the backend engines to their respective backend distributions (not yet released) and defining an API version that the engines conform to.

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



A peppered AES-encrypted Argon2 encoder for Crypt::Passphrase

Changes for 0.008 - 2024-04-07T13:41:40Z

  • Add support for aes-cbc-pad and aes-ecb-pad


A peppered AES-encrypted Bcrypt encoder for Crypt::Passphrase

Changes for 0.002 - 2024-04-07T13:38:27Z

  • Add support for aes-cbc-pad and aes-ecb-pad



test for trailing whitespace in files.

Changes for v0.4.0 - 2024-04-07

  • Add the abs_path_prune_re parameter.
  • Cleanups and updates ( dist.ini / etc. )



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


Fail if tests warn

Changes for 0.10 - 2024-04-07

  • Previous, when tests were run via prove without the verbose flag and there was a warning that caused a test failure, there was no output indicating that a warning caused the failure. This has now been corrected and you'll see output that includes "Unexpected warning". Reported by @janlimpens.


use Linux getdents syscall to read large directories over NFS

Changes for 0.005

  • Change: 261de7f86931460ce140254aebdb864bf78114dd Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:29:53 +0000
  • Change: fa477860cb8ce35e774138ce7b4ded25edeb3ca2 Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:27:17 +0000
  • Change: 3ac6067d753c6c22879e10293582e7dd05d2930d Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:21:24 +0000
  • Change: 9f0116724629df22673c7336d8ce61f26259c0a8 Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:17:04 +0000
  • Change: 5773f9efa3e6910cb93ce87a7db741673f3038f2 Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:14:17 +0000
  • Change: e41823c4e9c6b074c9eb264a5f6bc383ee6f1d47 Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:11:48 +0000
  • Change: b2cfc03e97a43b6472a40bd9cca4724fadcfe714 Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:05:10 +0000
  • Change: f163374e67749df49896d8eea59c895730fc586d Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:03:23 +0000
  • Change: 39c6e1d5b1cd8d6bf48748fe60337b0a20593b5d Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:03:10 +0000
  • Change: 610a4918bbca25b9f9ec9b282f9540483d0dfb27 Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:02:56 +0000
  • Change: c2221bb9d310dbfbf639948da964e213dd4e66ed Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:02:02 +0000
  • Change: 4a229ccd9eea2e078e38fdf8a28cd4c6354d5db1 Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2024-04-07 00:01:28 +0000
  • Change: 895ff2cd03b27c0b3589eae353b85db816f157ec Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2017-06-06 10:33:47 +0000
  • Change: 48fe96111bc7b4130989bcbaa5e9c15447b3fd3f Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2017-05-26 22:01:15 +0000
  • Change: fbbc717e85617485b77ae4bc4c3217ce76d76553 Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2017-05-15 16:44:08 +0000
  • Change: 746d7caeb2f31e3dc8e3186040781e5dabf7042d Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2017-05-03 00:51:15 +0000
  • Change: cb284820e6bf04dfc9b22e6ea5af29444d951c64 Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2017-05-03 00:29:41 +0000
  • Change: cc347013f6f73e19793726afeb3278d2553bb49d Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2017-05-01 18:36:55 +0000
  • Change: cb12c28e99eba21806b7bdb0ef14c65b25a1d6d6 Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2017-05-01 18:30:06 +0000
  • Change: 6549d1129550c4dde198ef6cdcb44c33c6f15b68 Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2017-05-01 03:49:10 +0000
  • Change: 241ab401d57ce8aac032243054681f3396d99b7a Author: Olivier Mengué <dolmen@cpan.org> Date : 2017-04-30 19:44:53 +0000
  • Change: 26b6be00f611a5177241909d5bbf352f17372f9a Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2017-02-05 13:17:03 +0000
  • Change: e4438afaeafaa791d24274c83f44eb85e210ac07 Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2017-02-05 10:32:16 +0000
  • Change: efca41dbd625d03a8f3efcfc6b5e932ef35359e9 Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2017-02-05 10:27:46 +0000
  • Change: 8edb7dcdc0ea2b9df1377f83fb4a4dd7ad308b82 Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2016-12-04 15:44:35 +0000
  • Change: fa3f73660931d7ac67de987977f7bb0f0130fba9 Author: Alceu Rodrigues de Freitas Junior <arfreitas@cpan.org> Date : 2016-12-04 15:40:28 +0000
  • Change: 1aed81625ace52b13ecd1e539b35ba6f0d19e9f1 Author: Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br> Date : 2016-12-04 13:17:26 +0000
  • End of releases.




DDL for table creation, based on SQL::Translator::Schema

Changes for 0.13 - 2024-04-04T12:23:58-04:00

  • API BREAKAGE
  • ENHANCEMENT
  • MISC






SPVM Language

Changes for 0.989098 - 2023-04-04

  • Document Fix and Improvement
  • Internal Changes


Greple module for text search and substitution

Changes for 2.33_9902 - 2024-04-04T01:11:36Z

  • include docs/ directory in the distribtion


Thin wrapper for Sort::Key to easily use SortKey::*

Changes for 0.001 - 2024-01-24

  • First release.



It's a very simple logger which can log your messages to a file or STDERR.

Changes for 0.4.1 - 2024-04-03T21:58:26Z

  • Tidy
  • List::Util dependency was removed




Mo language utilities.

Changes for 0.06 - 2024-04-03T17:32:05+02:00

  • Fix EXAMPLES in doc.
  • Fix SYNOPSIS section in doc.



Easily load and access DBIx::Class functionality in Mojolicious apps

Changes for 0.01 - 2024-04-03T09:11:05-05:00

  • initial release


Greple module for text search and substitution

Changes for 2.33_9901 - 2024-04-03T13:14:26Z

  • introduce --macos option
  • implement --exdictdir option by builtin
  • update share/macos.dict


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