Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

The Monastery Gates

( [id://131]=superdoc: print w/replies, xml ) Need Help??

New here?I want to ask a question of the Perl Monks. Where do I start?

Notices:

hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.

If you're new here, please read PerlMonks FAQ
and Create a new user!

Quests
poll ideas quest 2026
Starts at: Jan 01, 2026 at 00:00
Ends at: Dec 31, 2026 at 23:59
Current Status: Active
0 replies by pollsters
    First, read How do I create a Poll?. Then suggest your poll here. Complete ideas are more likely to be used.

    Note that links may be used in choices but not in the title.

Perl News
Perl wisdom in the age of LLMs
on May 14, 2026 at 09:37
1 reply by reisinge
London Perl and Raku Workshop 2026 goes from Maybe to Likely
on Apr 27, 2026 at 09:01
0 replies by choroba
    The announcement

    Our love of Perl and Raku, means another London Perl and Raku Workshop is presently in the works for November 2026, with an exact date and venue to be confirmed in due course.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Supplications
Pairs from 1D array
6 direct replies — Read more / Contribute
by bliako
on Jun 10, 2026 at 05:15

    Knowledgable Monks and Monkees

    I want to convert an array into an array of pairs, ending with an array of arrays (of two items). The first two items of the array make the first pair, next two the second pair, etc.

    I tried to use my @pairs = List::Util::pairs(@ARGV); which works great except that the pairs are ... blessed objects of some class internal to List::Util. Sure I know how to remove that extra layer of complexity (my @pairs = map { [$_->key, $_->value] } List::Util::pairs(@ARGV);) but why not keep things simple? There's also natatime-EXPR,-LIST of List::MoreUtils which returns an iterator.

    Can it be done simply and elegantly preferably without using any modules?

    thanks, bw bliako

Any PCB makers?
2 direct replies — Read more / Contribute
by stevieb
on Jun 09, 2026 at 03:35

    Hey all,

    It's been a while!

    I've been working on my WiringPi::API and RPi::WiringPi software, and am getting close to new releases for both, that work on not only the old Pi3 boards, but also Pi4 and Pi5.

    I have an extensive unit test suite for this. In the past, I breadboarded everything, then eventually migrated to pre-printed breadboard-style PCBs. This time, I want to create real PCBs for the components I'm testing (I envision three to four; one as a breakout from the Pi's 40-pin header, one or two for the 5v components, and one or two for the 3.3v components) that connect together with wiring harnesses.

    Although I know the electronics part very well, I'm not versed in KiCad or other schematic drawing software well enough to get this project off the ground quick enough for my liking.

    Are there any perl hacker friends here capable of helping me design my boards? I'm not advertising a job, but if I can find someone from here, I will most definitely pay.

    Cheers,

    -stevieb

Meditations
What is your primary CPAN complaint?
2 direct replies — Read more / Contribute
by stevieb
on Jun 11, 2026 at 05:05

    Mine is when you finally conclude a search for a Perl software that might do what you want, but the Meta CPAN page for the distribution shows so many links to stuff (ie. inner libraries within the dist) that it's hard to find even the base functionality you were searching for in the first place.

    In a couple of mine, I tried to put an FAQ up top, but meh.

    As a newb or experienced Perl hacker, what do you want to see first when presented a search result?

    In other or same words, how can POD authors restructure their documentation, and how can CPAN present it better?

Use of newer perl features
6 direct replies — Read more / Contribute
by stevieb
on Jun 11, 2026 at 03:34

    Although I've been still using Perl quite a bit in the past few years, I haven't started getting back to it for my own distributions until recently.

    Most all of my distros work on 5.8, some require 5.10. The 5.10 requirements are for defined-or or //=.

    I updated my Ansible setup to have any new machine I bring online (including my Raspberry Pi 5 devices) to install and use Perl 5.42 (via perlbrew).

    What perl features since 5.10 do you use frequently in your everyday production tasks?

    What Perl version do you mandate in your distributions, and what feature made you decide that choice?

    -stevieb

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2026-06-13 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.