Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

The Monastery Gates

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

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

poll ideas quest 2024
Starts at: Jan 01, 2024 at 00:00
Ends at: Dec 31, 2024 at 23:59
Current Status: Active
1 reply 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
TPRC Call for Papers is open!
on Feb 16, 2024 at 20:39
1 reply by talexb

    The Call for Papers for The Perl and Raku Conference 2024 is now open!

    From the TPRF website, "TPRC 2024 is being held in Las Vegas, NV from June 24-28 2024." The organizing committe has a few surprises lined up -- there will be more information to come.

    Alex / talexb / Toronto

    Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

February 08, 2024 @ 6pm CT ~ Houston Perl Mongers Zoom Meeting
on Jan 29, 2024 at 19:11
3 replies by oodler
    February 08, 6pm CT ~ Houston Perl Mongers Zoom Meeting 🔗 Thu Jan 25 2024
    Title: Using Perl Prototypes

    When: Thur February 8th at 6:00-8:00 PM CT (+6 UTC)

    Where: (virtual, see below):
    Meeting ID: 920 069 702
    Password can be found by running this statement.
    perl -e 'print +(0b1000100).((3<<2)*10).(010)."\n"' # 681208
    Original post:
is CPAN::WAIT dead?
3 direct replies — Read more / Contribute
by pope-indigent
on Feb 18, 2024 at 12:49
    Hey, CPAN suggested that I install the CPAN::WAIT module, but the tests are failing, in part I think because "" seems to have a bug; the bug is, it doesn't exist.

    So I'm wondering if WAIT is a dead horse, or if it would be worth bringing up a WAIT server on my Church's little dev box and hitting that. Or perhaps somebody already did that, and the CPAN::WAIT docs and tests could be updated.

    the WAIT module also fails to install under CPAN, and I"m not sure why ... could be the same problem. Or not.

    Before I burn a lot of time, I thought I should seek the wisdom of more enlightened souls.

    If I do bring up such a thing, and people so desire, I may make it public.

    Handers try to be helpful, and might even do so without a profit motive, if we can't find a way to profit, at least. (

GLPK integration
2 direct replies — Read more / Contribute
by jo37
on Feb 16, 2024 at 11:25

    Hello nuns and monks!

    Seemingly there is no Perl module that provides an interface to the GNU Linear Programming Kit (GLPK). Actually, its usage is not that easy as there lots of functions that have to be combined in the proper way. However, the Octave project managed to design an universal interface to GLPK in a single function.

    So I thought about porting this interface to Perl and finally managed to implement it. The Octave implementation was a great help in this task as the core function that orchestrates the GLPK functions could be reused as-is. You can find my first attempt at GitHub.

    I'd be glad to hear some opinions about this module, and I have a question: What is the policy for publishing a module on CPAN into an existing namespace hierarchy? I named the module PDL::Opt::GLPK, but I'm not sure if I need some consent to publish it.

    Edit: Added GLPK link


Cool Uses for Perl
"Terminal Velocity", a better Linux terminal graphics demo
1 direct reply — Read more / Contribute
by cavac
on Feb 18, 2024 at 07:36

    Last week i released a simple graphics demo for the Linux terminal (Fun with terminal color).

    The low framerate and the mostly static graphics bothered me a bit. So, i , uhm did it yet again. Another demo, this time using Inline::CPP and massaged versions of tinyraytracer and tinyraycaster to provide some actual graphical content. As a matter of fact, Inline::CPP didn't work for my borrowed(*) code, and my understanding of CPP is a 20 years out of date. So i override the Inline::CPP RecDescent module to ignore my bugs. Hey, it's not production code, just a demo...

    As in the last demo, your Terminal needs to support full RGB colors and have a size of at least 270x60 in size (characters, not pixels). SDL is sort-of-optional this time; the demo will run without sound if it can't load SDL. And as said above, you'll need to install Inline::CPP as well.

    Here's the mercurial repository:

    And the YouTube video: OBS and YT compression did munge the quality a bit, though. Probably my fault for not understanding the OBS settings...

    (*) "but with every intention of giving it back"

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
Color die and warn messages
No replies — Read more | Post response
by Anonymous Monk
on Feb 15, 2024 at 18:50
    This scratched an itch for me, no guarantees.
    use warnings::colored; warn "warning"; # yellow system "non-existant-command"; # red say "test"; # none eval { die "caught" }; # none say $@; # none die "died"; # red
    And the implementation: