I'm new tp Perl, and got some questions about cpan. If it's a package manager, how to remove a package it installed? And i don't quite follow the info when downloading a package, the info seems to be compiling package? Or just ignore all of them as long as it works?
submitted by /u/MassiveSleep4924
[link] [comments]
Hi,
I am writing an Alien file to install the pipx package manager in a somewhat portable way (the package manager can be installed in as many different ways, as the number of operating systems out there ) , and I was wondering if there is a better way to do so than the following hack
use alienfile; use strict; use warnings; ## dummy probe for a system install probe sub { 'system'; }; ## check that pipx is actually installed my $has_pipx; my $cmd = `pipx --version`; chomp $cmd; $has_pipx = $cmd =~/[0..9\.]+/ ; unless($has_pipx) { ## OS specific install instructions } 1;
The reason I'd like to do it via Alien is because I am writing an application with numerous external dependencies, some of which can be installed by downloading and building C/Rust/C++ apps from source, but others are (vomit) python modules and I would like to use a consistent way to handle non-perl dependencies.
submitted by /u/ReplacementSlight413
[link] [comments]
Hi all! I am looking for companies currently hiring Perl developers. So far I found only a couple of them (booking, 17hats) and I was wondering if anybody knows others? Possibly in EU, but remote is also good. Thank you!
submitted by /u/Neither-Television-3
[link] [comments]
sealed.pm implements dougm’s original patch to compile method lookups for typed lexicals:
https://www.perl.com/pub/2000/06/dougpatch.html/
v5.1.5 on CPAN resolves longstanding reentrancy issues.
Internally sealed always relied on an undocumented method in B::Generate to construct the replacement B::PADOP opcode, but internally it’s invoking newPADOP, which leaves the associated padname unaddressed.
This causes segfaults in Perl_pad_push reliably, when it indexes that padname element.
In v5.1.5, the padname gets created by an XS subroutine, which does the needful.
submitted by /u/joesuf4
[link] [comments]
Notes on Doug's Method Lookup Patch
Since 1997 Perl.com has published articles about the Perl programming language, its culture and community.Perl.com
Webservice to connect to Onfido API
Changes for 0.006 - 2023-07-02T15:36:03+00:00
- Add hook
Open a file for shared reading and/or writing
Changes for 4.05 - 2023-07-02
- Fix tests with perl-5.38.0.
Fast, safe DBI connection and transaction management
Changes for 0.59
- Fix for Windows t/load.t failures