Do not post your Perl questions here!

This section is only for discussing issues pertaining to the PerlMonks web site itself. For example, asking about how things work, or offering ideas on how the site could be made better.

Unless the topic pertains to the PerlMonks web site itself, it does not belong in this section. If you're even the least bit unsure, check out Where should I post X? and The Perl Monks Guide to the Monastery, or ask in the chatterbox.

PerlMonks Discussions
Emailing Passwords? In 2020?
6 direct replies — Read more / Contribute
by punklrokk
on Aug 17, 2020 at 20:49
    Hey Monks,
    So, it's been awhile. On a whim I came here and tried to login. I had to reset my password.
    Now, I know this is not really a super secret space and nobody is going to get my credit cards, but can I implore the site admins here to not email me my password via email.
    Hopefully I don't need to get into why, but I'm willing to explain if needed.
    JP (punklrokk)
proposal to update links in the Perl News section
No replies — Read more | Post response
by perlfan
on Aug 17, 2020 at 12:18
    Currently, there is an attempt to note virtual Perl Monger meetings at the following URL:

    I propose that this be added to the links at the top of Perl News for 2 reason:

    1. It's a living resource and a chance for more interaction virtually
    2. To encourage its use so that it better accomplishes the its purpose described in #1

    Further more, making the linked text clearly indicate the benefit of clicking the link (for PM organizers and virtual lurkers alike) would help. I have no suggestion for the wording.

    Thank you.

Error in Best Nodes of the Week
5 direct replies — Read more / Contribute
by Athanasius
on Aug 14, 2020 at 03:09

    I’m looking at the Best Nodes page. Sections for Best Nodes of the Day, Month, and Year have 10, 10, and 20 entries, respectively, as expected. But Best Nodes of the Week shows only 6 entries, numbered 5 to 10. Looks like something has gone wrong somewhere.

    Thanks for looking,

    Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Last hour of cb has not updated since Aug 05, 2020.
3 direct replies — Read more / Contribute
by Lady_Aleena
on Aug 11, 2020 at 16:07

    Just thought you would like to know that the last hour of cb has not updated since Aug 05, 2020 at 12:55 EDT.

    My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.

    No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
    Lady Aleena
Preview neither truncates nor warns
2 direct replies — Read more / Contribute
by hippo
on Aug 05, 2020 at 04:38

    Reading Re^10: XS.c: loadable library and perl binaries are mismatched (got handshake key 0xc100000, needed 0xc180000) I was encouraged to confirm what rgren925 reported. I constructed a reply with about 120kB in it and used the Preview button to check it. All of it was rendered and there was no warning (that I could see) that it was over the size limit for posting. When it was subsequently submitted it still rendered fine and it was only on a further navigation to the same node that it did truncate to ~64kB as I expected.

    This is not great from a UX perspective. The preview should either warn about the size or truncate it like the final submission would do or (ideally IMHO) both. The full text could still be retained in the textarea for ease of editing.


Lots of 500s
2 direct replies — Read more / Contribute
by choroba
on Jul 30, 2020 at 04:41
    I'm getting lots of 500s when trying to access RAT. Are all the servers OK?

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Unanswered Perl questions on Stack Overflow
3 direct replies — Read more / Contribute
by davies
on Jul 25, 2020 at 06:35

    Davorg has posted a piece on LinkedIn (sorry, don't know how to link to it!) saying "Almost 7,800 unanswered 'perl' questions on StackOverflow. Can you help to answer some of them?" and giving the link I am not surprised, as I have never found SO to be a helpful community. If we wish to drive Perl traffic to this site - I assume we do - might it be worth posting answers here & putting a link to the relevant node on SO?


    John Davies

Unparent tangents?
4 direct replies — Read more / Contribute
by Lady_Aleena
on Jul 15, 2020 at 11:02

    Hello everyone. Is it possible to unparent tangents in threads? In the conversation of Expression form of map or grep, I answered a question as to why I cared about the number of lines. I replied here, and that created a tangent. Is it possible to unparent my reply and its replies into a new thread, maybe titled "I do not like scrolling" or something? It would be to keep the focus on the map/grep topic and let the new topic be its own thread.

    In my mind, tangents could confuse some newer users.

    I know this may be a bad thought or too much of a bother, but I would like to know. Please?

    My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.

    No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
    Lady Aleena
Offering Plate needs some brasso
2 direct replies — Read more / Contribute
by perlfan
on Jul 12, 2020 at 10:17
    It mentions that TPF "... carries the legal responsibility for Perl 5 and Perl 6..", which is clearly out of date. Also the links are non-SSL. Not exactly something you want to note when going to donate, e.g. - it does redirect to, but not before you've already made a request to http.

    My last note is a thought, would it be to remove the unnecessary clicks in our "Donate" link above, and just link from here to Idk if Dan is on here, but that page should probably get a face lift so that it has some of the info that's on and may be more suitable for direct linking.

    minor update, s/what's/the info that's/.

Hex codes in links
1 direct reply — Read more / Contribute
by jo37
on Jun 21, 2020 at 10:02

    The node 11118252 has a "special" link that contains a vertical bar (encoded as %7C). This link has been constructed by specifying the full href, as choroba told me in a private message. As the vertical bar cannot be used directly in a link at the monastery as it separates the location from the displayed text, it must be encoded in some way. Trying to use the path IO::Uncompress::Gunzip#Transparent-=>-0%7C1 with some shortcut schemas gives interesting results:

    [metamod://IO::Uncompress::Gunzip#Transparent-=>-0%7C1] ->
    points to nowhere (404)

    [doc://IO::Uncompress::Gunzip#Transparent-=>-0%7C1] ->
    links to the page, but not to the specified section

    [mod://IO::Uncompress::Gunzip#Transparent-=>-0%7C1] ->
    links to the specified section

    <EDIT> and work just fine, when accessed with the original path component "as is". The example is misleading, as there are no anchors within the page. </EDIT>

    All the generated links (except the full href) have one thing in common: The percent sign becomes encoded as %25. It depends on the target side if this will be interpreted in a useful way. I didn't find any documentation on how to include a hex encoded value in a link. Obviously it is handled different in a full href. Is this a bug or is it a feature? If it's a feature, then another feature might be missing: including hex codes in a path.


[Solved] Node renders differently when logged in vs. logged out
2 direct replies — Read more / Contribute
by haukex
on Jun 20, 2020 at 12:57

    Update: This paragraph is a test to see if I can reproduce it. italic ... Yep, confirmed.

    Solution: "Enforce proper nesting of HTML" in Display Settings. D'oh!

    The node 11115734 contains an unclosed <i> in the "EDIT" at the top. However, the HTML for this node differs depending on whether I am logged in vs. logged out. When logged in, it's

    <p> <b>EDIT:</b> <br /> I <strike>use</strike> <i>used</i> bareword filehandles. <i>In the course of this discussion I was convinced not to do so.<i> </i></i></p>

    But when logged out, it's

    <p> <b>EDIT:</b> <br /> I <strike>use</strike> <i>used</i> bareword filehandles. <i>In the course of this discussion I was convinced not to do so.<i> </p>

    What's going on? Of course the "fix" is to correct the unclosed <i>, but I'm surprised at the rendering difference.

On my way out?
7 direct replies — Read more / Contribute
by stevieb
on May 28, 2020 at 20:29

    After my Raspberry Pi stuff I did for a couple of years, I've migrated away from SBC and now focus primarily on micro controllers to perform actions I need done.

    I haven't had the 'need' for Perl in some time. Realistically, I'm only checking PerlMonks because it's a habit. I also still use Perl for quick one-off basic math and localized problems.

    Other than that, being an ardent Perl user for a couple of decades, I'm finding my desire waning quite quickly. I don't really have the excitement I once held for Perl, nor is the community the same as it was years ago.

    I am uncertain as to the future I have with Perl. I know I love Perl to death, but death does not sustain future generations.

    I'm starting to think that Perl has been fractured to the point that it's been bypassed, and unless someone comes up with some magical cure to phase in some niche for it, maybe we need to retire.

    Flustered and aggrieved I am as we all are, and even though I make money because of Perl, Perl might not be the best recommendation going forward.

    As always, opinions welcome.

Strange Reputation Display
3 direct replies — Read more / Contribute
by kcott
on May 28, 2020 at 02:44

    In "Re^4: one liner error" I see:

    Reputation: -12 (+-2 -10)

    The "+-2" seemed very strange and I'm pretty sure I haven't seen that in the past. I reloaded that page a couple of times but the "+-2" persisted.

    I checked another from today's Worst Nodes. In "Re^2: delete single user" I see:

    Reputation: -12 (+0 -12)

    That looks normal. Any ideas on that first one with "+-2"?

    — Ken

Ethical considerations of responding to posts made by someone obviously up to no good
7 direct replies — Read more / Contribute
by kikuchiyo
on May 26, 2020 at 13:27

    This question was prompted by the following node: json no reload

    Its author has repeatedly made low quality posts with an obvious lack of ability or intent to learn anything, expecting us to give him ready-to-use solutions to help him in his nefarious endavors. To put it bluntly, the poster is likely a scammer or script kiddie, except he keeps tripping up in his own shoelaces and he is too retarded to notice even that.

    What is the right thing to do with posts like this, given that replying to them is at best a waste of time, but at worst might lead to other, innocent people being hurt?

    1. ignore completely
    2. delete and ban
    3. try to educate the poster
    4. give a malicious answer that hurts the scammer if he is dumb enough to blindly run code from the internet
    5. report to the authorities

    Ignoring or deleting seems like avoiding responsibility, like saying "it's not my problem".

    Educating doesn't seem to work - now, nor in general.

    As for giving a fake answer, I've once read a chatlog where an angry and overconfident kid wanted to hack his neighbor's wi-fi, and someone convinced him to run yes I want to enable wireless hacking > /dev/sda as root on his (or as it turned out, his father's) computer - which is both evil and hilarious. In any case, this is a dangerous option.

    Reporting makes me feel like a snitch - but at the same time, if there is evidence for a crime, I (we) have a moral or even legal obligation to report it.

Intermittent server errors
No replies — Read more | Post response
by hippo
on May 26, 2020 at 07:31

    Over the past week or so I have noticed very occasionally that a page or an asset has not rendered in response to a request. choroba has also mentioned in the CB seeing this or something similar. Just now this has happened fortuitously while I had the network console running in my browser and it reports these problems:

    A 500 response when attempting to retrieve from the server at at 11:16:54 GMT (Response header timestamp).

    A 500 response when attempting to retrieve replies toggle javascript from the same server at the same time.

    The 2 assets were then immediately re-requested by the browser and successfully served by that same server with the same timestamps.

    I hope that this helps in tracking down the problem.

Discussion Item
Give us your input:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.