[link] [comments]
Day 17: New operations for Perl Data Language
New operations for PDL (Perl Data Language)pdl.perl.org
I want to install tarball of perl 5.38.0 with wget, but it just freezes. Is there other mirrors other than cpan.org ?
Or i just doing something wrong. I am in Russia (I even tryed different proxies - dont help)
submitted by /u/braam76
[link] [comments]
In the spirit of shiny containers gathered neatly under the festive tree, I spent some time using Podman to make a rootless "dockerfile" that contains ALL THE Perl REPLs... as well as a few other useful bits and Object::Pad so people can see how cool the Class/Role syntax is.
Here is the container. Yes, it's big, you will need broadband. ^_^
https://hub.docker.com/r/jemi298/perl-repls-debian
I recommend Podman, but with Docker/Podman, pull the image and give it a try. I tried to make this a "easy"... I'm sure it will download and run faster on your PC than it builds on mine! You could do something like:
Run Devel::REPL... $ use strict; use warnings; use feature 'say'; $ use Object::Pad; $ my @aNumbers = map { $_ } 100..999; $ role rVox { > method doMsg ($inMsg) { say $inMsg; } > } $ class cTEST { > apply rVox; > } $ my $oT=cTEST->new; $ $oT->doMsg(__LINE__. " hello from a REPL!"); 6 hello from a REPL!
The container is based on Debian:Slim (slim, ahem), so let's recognise up front that compared to Alpine Linux, Debian:Slim is a whale! And Devel::REPL in particular depends on a herd of Moose...
This is a learning image, those keen for cloud deployment will not want this to run up their cloud bills.
Here are some of the previous discussions about Perl and containers:
https://old.reddit.com/r/perl/comments/12vv8g4/quick_tip_run_local_perl_code_using_podman_to_run/
https://old.reddit.com/r/perl/comments/sd5403/tiniest_perl_docker_image/
https://domm.plix.at/talks/writing_a_good_dockerfile_for_perl_app.html
Merry Containering, Perling, and REPLing!
submitted by /u/singe
[link] [comments]