Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: TimeDate 2.30 - Bug in test-code

by Skeeve (Parson)
on Jan 10, 2020 at 11:56 UTC ( [id://11111282]=note: print w/replies, xml ) Need Help??


in reply to Re: TimeDate 2.30 - Bug in test-code
in thread TimeDate 2.30 - Bug in test-code

++ @ marto

You are right. Thanks for looking into it and pointing this out

Question: Is there a way cpanm can automatically apply the patch given? I have no clue whether or not it's possible.

Answer: No, there isn't

Does cpanm support the feature XYZ of CPAN and CPANPLUS? Most likely not. Here are the things that cpanm doesn't do by itself.

[…]

Patching CPAN modules with distroprefs.

s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

Replies are listed 'Best First'.
Re^3: TimeDate 2.30 - Bug in test-code
by marto (Cardinal) on Jan 10, 2020 at 12:09 UTC
Re^3: TimeDate 2.30 - Bug in test-code
by Skeeve (Parson) on Jan 10, 2020 at 12:23 UTC

    In case anyone is interested, this is my workaround in my docker-compose.yaml

    COPY cpanfile .
    # Patched TimeDate. See https://rt.cpan.org/Public/Bug/Display.html?id=124509
    COPY TimeDate-2.30 /TimeDate-2.30
    RUN cpanm /TimeDate-2.30 \
      && cpanm --installdeps . \
      && rm -rf TimeDate-2.30
    

    The local copy I have is already patched

    I'm sure there are better ways to achieve this


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found