Skip to main content



I stumbled upon this really nice page from Ruby, describing the language from the perspective of other common programming languages:

https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/

The page is written in a friendly tone, inviting programmers familiar with other programming languages to Ruby. No programming language is being viewed as inferior, quite the contrary: all mentioned languages are praised and even defended from haters, for example:

  • "Perl is awesome. Perl’s docs are awesome. The Perl community is … awesome. For those Perlers who long for elegant OO features built-in from the beginning, Ruby may be for you."
  • "Happily, it turns out that Ruby and C have a healthy symbiotic relationship. And, of course, Ruby itself is written in C."
  • "Java is mature. It’s tested. And it’s fast (contrary to what the anti-Java crowd may still claim)."
  • "Python is another very nice general purpose programming language."

I believe Perl could greatly benefit from having a similar page. With its friendly philosophy and TMTOWTDI, it seems natural to invite programmers from other languages, with an approach of "Don't be afraid to keep programming the way you are used to, if it works in Perl, there are no limits enforced".

Since Perl is now not a common choice for new code or for learning, it makes a lot of sense to bring over people from other languages. Especially in an age where strict conventions seem to be praised, I can see Perl becoming a source of some fresh air.

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



networking constants and support functions

Changes for 2.038 - 2024-04-15

  • CHANGES
  • BUGFIXES



Dist::Zilla configuration the way AJNN does it

Changes for 0.07 - 2024-04-15

  • Add git contributors to meta and pod
  • Use an HTTP link instead of an SMTP address in the pod author section
  • Add readme support for main modules with separate .pod files
  • Use Leftovers instead of Generic in PodWeaver



my $MAX_PROCESSES=10; my $pm = Parallel::ForkManager->new($MAX_PROCESSES); while (1) { my $pid=$pm->start and next; print "$$ LOCK \n"; $pm->finish; } $pm->wait_all_children; 

I made this sample piece of code which I basically took from the docs, I only changed to infinite loop but I cannot understand why this would make any different between an infinite loop and iterating through an array for example? Anyway I am fighting this for several hours now trying different versions of my code and cannot find why am I getting "Cannot start another process while you are in the child process" all the time, any hints appreciated

output looks basically like this

Cannot start another process while you are in the child process at .... 16366 LOCK 16367 LOCK 16368 LOCK 16369 LOCK 16370 LOCK 16371 LOCK 16372 LOCK 16373 LOCK 16374 LOCK 16375 LOCK Cannot start another process while you are in the child process at .... 

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



Find or build xz

Changes for 0.09 - 2024-04-15T11:21:20Z

  • use GitHub plugin to fetch tarball (gh#8, gh#10)


Build or find autoconf

Changes for 0.20 - 2024-04-15T08:16:02Z

  • Fixes for 2.72 (gh#17, gh#18)


113-bit integer arithmetic

Changes for 0.05

  • Add README file.
  • Fix bug in t/bitwise_gmp_cross_checks.t


Simple opinionated tool to set up a Perl distribution directory.

Changes for 0.14 - 2024-04-15

  • Allow to specify the type of runners to use for the GitHub CI actions.
  • Make the dependency on CPAN::Common::Index::Mux::Ordered be optional.


parses .pm file as PAUSE does

Changes for 0.46 - 2024-04-15

  • Strip BOM before finding a package



A base for sort-like CLI utilities

Changes for 0.003 - 2024-03-06

  • [incompatible change] Replace _sortgen with _gen_sorter + _gen_comparer + _gen_sortkey.


Sort lines of text by spec

Changes for 0.004 - 2024-03-06

  • Update to AppBase::Sort 0.003.
  • [doc] Fix example.


Collection of CLI utilities for Sah and Data::Sah

Changes for 0.484 - 2024-03-06

  • Rename scripts: list-sah-schemas-modules -> list-sah-schemabundle-modules, list-sah-pschemas-modules -> list-sah-pschemabundle-modules.
  • Tweak examaple summary.


Audit CPAN distributions for known vulnerabilities

Changes for 20240414.001 - 2024-04-15T00:01:30Z

  • data update for 2024-04-14


A complete SPARQL 1.1 Query and Update implementation for use with RDF::Trine.


The Joy of DTrace and ModPerl2 submitted by /u/joesuf4
[link] [comments]


Acceptance testing for JSON-Schema based validators

Changes for 1.023 - 2024-04-13T19:25:31Z



A mono repo for perl scripts and modules which WATERKIP likes

Changes for 0.003 - 2024-04-13T19:19:39Z

  • Add i3-wod, workspace on demand


Find and verify functionality of the gnuplot executable.

Changes for 1.043 - 2024-04-13

  • make any failure more verbose to help debugging


Synthesizer settings librarian

Changes for 0.0048 - 2024-04-13T10:44:44Z

  • Improve eg/synth-config-cli.pl.
  • Fix the return value of recall_specs().


Hi, im working on this perl script wherein i should get all files with filename < 900000

Ex. sample_file_802856.txt sample_file_27364692.txt sample_file_385620.txt

the script should get:

sample_file_802856.txt sample_file_385620.txt

I already have the code but it’s failing on this part coz im having a hard time getting the regex for < 900000 😆

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



The great new Seven!

Changes for 0.01

  • First version, released on an unsuspecting world.


A SQL Database object abstraction class

Changes for v1.3.1 - 2024-04-11T22:27:49Z

  • Modified method 'structure' in DB::Object::Mysql::Table to ensure all fields returned are in lowercase.


Libraries and Utilities to work with Dogecoin

Changes for 1.20240413.0031 - 2024-04-12T17:31:00-07:00

  • removed unnecessary warning


Subroutine attribute for compile-time method lookups on its typed lexicals.


test MIDI file contents

Changes for 0.02 - 2024-04-13

  • Add more MIDI event test functions. Break the midi_track interface a bit. Improve the documentation.


interactive terminal-based viewer for App::sdview

Changes for 0.06 - 2024-04-11

  • CHANGES
  • BUGFIXES


Mo country utilities.

Changes for 0.02 - 2024-04-11T22:03:15+02:00

  • Add support for upper case codes.
  • Fix test code.


Mojolicious Plugin for Config::Structured: provides Mojo app access to structured configuration data

Changes for 3.00 - 2024-04-11T08:54:52-05:00

  • rework for Config::Structured v3
  • require perl v5.26
  • add config-dump mojo command


provide the most appropriate HTTP client with a Future API

Changes for 0.17 - 2024-04-11

  • Require Perl 5.020
  • Move prerequisites and used modules to versions that work with Future::XS (diagnosed by CPAN testers)


iterators for objects that know the next element

Changes for 1.149 - 2024-04-11T16:53:34Z

  • Put POD in its own file so MetaCPAN sees it (#17)
#17



Simple opinionated tool to set up a Perl distribution directory.

Changes for 0.13 - 2024-04-11

  • Fix a typo in the MANIFEST.SKIP file.
  • Add support to specify the keywords and no_index META directive.







Check for the presence of a compiler

Changes for 0.024 - 2024-04-11T14:43:48+02:00

  • Make temporary dir absolute


Hi,

I am moving to RedHat 9 from RedHat 7. I am running Apache with mod_perl.

I have installed the mod_perl package on the RedHat 9 box. I am getting this error on bit of code that I wrote:

Can't locate XSLoader.pm: /usr/local/lib64/perl5/5.32/XSLoader.pm: Permission denied at /usr/lib64/perl5/vendor_perl/Apache2/XSLoader.pm line 22.\nBEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Apache2/XSLoader.pm line 22.\nCompilation failed in require at /usr/lib64/perl5/vendor_perl/Apache2/Access.pm line 24.\nBEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Apache2/Access.pm line 24. 

When I do a search for XSLoader.pm, I find:
/usr/lib64/perl5/vendor_perl/APR/XSLoader.pm /usr/lib64/perl5/vendor_perl/Apache2/XSLoader.pm /usr/share/perl5/XSLoader.pm 

I am guessing I have some path issue. Any ideas what I may need to do?

thank you

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



iterators for objects that know the next element

Changes for 1.148 - 2024-04-10T18:05:54Z

  • need a user release for indexing?


Audit CPAN distributions for known vulnerabilities

Changes for 20240410.001 - 2024-04-10T17:51:12Z

  • data update for 2024-04-10


iterators for objects that know the next element

Changes for 1.147_01 - 2024-04-10T17:42:51Z

  • Try not indexing preprocess/


iterators for objects that know the next element

Changes for 1.147 - 2024-04-10T16:55:14Z

  • Release again to investigate PAUSE indexing issue (#16)
#16


Neo4j community graph database driver for Bolt and HTTP

Changes for 0.48 - 2024-04-10

  • The cypher_params config option now allows 'v2' as a synonym for v2.
  • Minor documentation updates.




Synthesizer settings librarian

Changes for 0.0047 - 2024-04-09T11:28:00Z

  • Improve the specs logic.
  • Improve eg/patch-visualizer.pl.
  • Fix eg/synth-config-mojo.pl to use database specs.