Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Whitespace after "Re*:" colon sometimes disappearing

by LanX (Saint)
on Mar 12, 2021 at 20:14 UTC ( [id://11129530]=monkdiscuss: print w/replies, xml ) Need Help??

something strange is happening (again), and these hick-ups might be a symptom of something worse What happened to the usual whitespace after the colon?

I already had to fix one of my posts from yesterday, because I blamed myself for erasing it by accident.

But these cases are accumulating.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

edit

@pmdevs: see add_re_to_title

  • Comment on Whitespace after "Re*:" colon sometimes disappearing

Replies are listed 'Best First'.
Re:Whitespace after "Re*:" colon sometimes disappearing
by LanX (Saint) on Mar 12, 2021 at 20:45 UTC
    that's what's happening at the end of add_re_to_title

    return "@parts";

    with @parts holding the re-part and the original title.

    My theory:

    The monastery is running on multiple servers and it seems that global vars like $" are not in sync.

    This might also explain some weird effects we had since the last migration.

    Question:

    The bug in question can be easily fixed by

    return join " ",@parts;

    shall I patch or do the gods want to check the root problem first?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

    updates
    • patch submitted add_re_to_title - (patch)
    • the whitespace also disappeared in this reply ;-)
    • does Pair make us share a mod-perl server with other Perl clients?
    • patch was accepted

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://11129530]
Approved by davies
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found