Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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.

Quests
Wall of Larry Quest
Starts at: Feb 26, 2024 at 05:00
Ends at: Dec 31, 2024 at 04:59
Current Status: Active
2 replies by jdporter

    By now you've all seen The St. Larry Wall Shrine. Well, it could use a fresh coat of gold leaf and shellac. Therefore, we are soliciting Larry-related items to be placed on the shrine. Links to offsite content are good; or if you have small bits of content, such as quotes, you'd like to contribute, that's fine too. Please reply to this Quest with your humble offerings. Thank you! And may St. Larry bless your codings and your debuggings.

poll ideas quest 2024
Starts at: Jan 01, 2024 at 00:00
Ends at: Dec 31, 2024 at 23:59
Current Status: Active
2 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.

Monk Quips Quest
Starts at: May 01, 2023 at 08:00
Ends at: Apr 30, 2024 at 07:59
Current Status: Active
9 replies by erzuuli
    Esteemed Monk kcott has recently proposed an excellent idea.

    heretoforthwithstanding, we invite all monks to submit ideas for new monk quips!

    Your quip suggestion should include the following details:

    • Intended quip location: either XP Nodelet, Chatterbox, or Monkbar (that's the page header).
    • Text of quip.
    • Optional: background & foreground colours. If you include these, be sure they are nicely contrasting.

    .

Perl News
TPRC/Science Track Submission Dates and Deadlines Coming Fast!
on Mar 28, 2024 at 12:50
0 replies by oodler
    Science Track Deadlines (initial submission is same date/time as the standard talk tracks):
    • TPRC Talk/Science Track Abstract submissions deadline: April 5th, 2024 (23:59:59 UTC)
    • Abstract acceptance emails sent: April 15th, 2024
    • Draft full paper due: May 15th, 2024
    • Draft full paper feedback emails sent: May 31, 2024
    • Final full paper due: June 7th, 2024
    • Final papers approved: June 15th, 2024
    Links:
PDL 2.085_02 released
on Mar 25, 2024 at 16:58
0 replies by etj
    PDL 2.085_02 has just been released. Notable changes since 2.083:
    • Dataflow bugs have been fixed (GH#461)
    • Dimension-checking for inputs and outputs are now rigorous to stop accidentally writing to the same place several times (GH#445)
    • PDL::Graphics::PGPLOT has been moved into the PGPLOT CPAN distro and out of main-PDL
    • Speed improvements (GH#451)
    • A 20-year-old bug in rangeb has been fixed thanks to jo37

    Thank you to all those who reported bugs or unexpected behaviour, or ask why something or other isn't possible: you help make PDL better and better!

    The IRC channel (#pdl on irc.perl.org) is a great virtual place to come and ask questions, or just watch the GitHub messages flow by.

    Please give the new release a try and report problems.

Supplications
Perl doesn't give error when module is not found
3 direct replies — Read more / Contribute
by Anonymous Monk
on Mar 26, 2024 at 06:36
    Very simply I don't have a 'use Data::Dumper' line in my script
    but when later on doing 'print Dump $myvar' I get no error!
    Also when doing 'print Dumperrrrrrrrrr $myvar' I get no error too!
    Why is that???????
boot_DynaLoader: what, where, how
2 direct replies — Read more / Contribute
by rodd
on Mar 23, 2024 at 09:26
    Respectable keepers of knowledge:

    I'm working on binding some JS and Perl code using Bun FFI (https://bun.sh/docs/api/ffi) and perlembed. Things work good, except for XS dynamic loading. Probably due to the way the Bun FFI links to the boot_DynaLoader in my libperl.so, and the general lack of tools and knowledge on my part to circumvent, emulate or recode some of those parts.

    So, my question: where or how in core is the libperl boot_DynaLoader C function defined? I just can't find it! I've been to the Perl core code and docs on XS, boot_DynaLoader and ExtUtils::Embed, but to my surprise I can't figure how it works or where its code resides in core (my core is 5.22.1).

    Any leads, links or pointers to help me acquire the knowledge of the inner workings of dynamic loading would be of great help.

    PD: I didn't want to bore you with my code, but here it is, for context:

    const xsInit = new JSCallback( (pTHX) => { Perl.Perl_newXS( perl, pstr('DynaLoader::boot_DynaLoader'), Perl.boot_DynaLoader.ptr, pstr(import.meta.file) ); }, { args: ['ptr'] } ); const rc = Perl.perl_parse(perl, xsInit.ptr, argc, argv, envp);

    The above does not dynamic loads XS modules as intended due to the way the FFI library exports symbols, which are meant primarily to be used within the JS realm, not to be sent back to libperl as a callback or (void *)() pointers. I've tried some other workarounds and practices, ie using my own compiled xs_init() function from C and FFI linking to that, but loading is still not working. I probably will be able to solve it at some point, but still, I'd like to understand the inner workings of the core in that regard. I got it working on darwin x86 by accident, but the same workaround fails in linux.

PerlMonks Discussions
New Feature: Private Groups of One
1 direct reply — Read more / Contribute
by jdporter
on Mar 28, 2024 at 15:44

    OK, folks, I've got yet another steaming-fresh feature for you: Private groups of one. Each monk can have a private group of which they are the only member. In this group, you have access to the feature which supports threaded discussions on groups. Here's the trick which makes this feature useful (in my hubrile opinion): the Gods also have access to your private group of one! This enables to have private threaded discussions with the gods. I made this because I feel that our inbox-based message system and wikis are rather inadequate for extended discussions.

    To access your private group of one, go to your home node. You should see a row labeled "Private Group:" at the bottom of the table next to your picture. If the private group doesn't exist yet, there will be a link to Create it. Otherwise, the link will say Visit.

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 about the Monastery: (5)
As of 2024-03-28 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found