[link] [comments]
Collecting talks - Perl Hacks
I gave my first public talk sometime between the 22nd and 24th September 2000. It was at the first YAPC::Europe which was held in London between those dates. I can't be any more precise because the schedule is no longer online and memory fades.Dave Cross (Perl Hacks)
submitted by /u/nmariusp [link] [comments] |
Perl programming using KDE's Kate editor in Linux tutorial - March 2024 - f5c89eca
How to configure Kate for the programming language Perl 5. I install Kate and the CPAN Perl module Perl::LanguageServer from https://github.com/richterger/Pe...YouTube
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 forvsearch
.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 usePDL::FFTW3
instead,PDL::FFT
is bundled withPDL
for the cases wherePDL::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 viaAlien::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 ofsequence()
.
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 incorporatesPDL::Graphics::PGPLOT
module that was in thePDL
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]
SF feature request #82 - Alternate type behaviour for xvals, yvals, zvals · Issue #330 · PDLPorters/pdl
https://sourceforge.net/p/pdl/feature-requests/82/ @zmughal writes: I noticed the caveat for xvals, yvals, and zvals regarding the type: CAVEAT: If you use the single argument piddle form (top row ...GitHub
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
A conditional language within an ordered JSON struct
Changes for 0.01
- First version, released on an unsuspecting world.
A SQL Database object abstraction class
Changes for v1.2.3 - 2024-04-06T15:21:07Z
- Correction of the DBD::SQLite constant bug unresolved previously.
A conditional language within an ordered YAML struct
Changes for 0.01
- First version, released on an unsuspecting world.
A Conditional language within a perl struct.
Changes for 1.02 - 2024-04-06
- Extend to allow custom instantiating of hashes so that they can become ordered.
DDL for table creation, based on SQL::Translator::Schema
Changes for 0.13 - 2024-04-04T12:23:58-04:00
- API BREAKAGE
- ENHANCEMENT
- MISC
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
It's a very simple logger which can log your messages to a file or STDERR.
Changes for 0.4.0 - 2024-04-03T21:47:14Z
- STDOUT logger
- Time::Moment dependency was removed
Perl interface to the Argon2 key derivation functions
Changes for 0.021 - 2024-04-03T23:39:28+02:00
- Fix documentation of argon2_needs_rehash argument order
framework for easy creation of Enterprise Application Integration tasks
Changes for 1.913 - 2024-04-03T22:00:00Z
- execute hash not checked anymore, so it can be used to transport custom data; column definitions in DB.pm now debug level, tracing of data is now row wise (whole data structure was too big to be dumped)
A health check for your code
Changes for v1.9.1 - 2024-04-03T19:45:46Z
- Update README (Andrew Hewus Fresh)
- Pull request #13: Patch SM-4775 fixed typo bug and added test (Austin Hill)
- SM-4775 use default sort comparison (Austin Hill)
- SM-4775 fixed typo bug and added test (Austin Hill)
Mo timezone utilities.
Changes for 0.01 - 2024-04-03T18:33:24+02:00
- First version.
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
A FOSS Ecosystem Checklist for the Benefit of Maintainer Sustainability
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