Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: strawberry perl Windows and apply patch

by Sinistral (Monsignor)
on Mar 23, 2018 at 19:40 UTC ( #1211633=note: print w/replies, xml ) Need Help??

in reply to strawberry perl Windows and apply patch

Files with the 'patch' extension would indicate they are patch files. If you were on MacOS or a Linux machine, you would probably have patch already installed. Since you're using Strawberry Perl, you'll have to get it on your machine to use the patch file you've obtained.

After a little searching, I found a port of patch for Windows from the GnuWin32 project, which I've used before. It is native Windows executables for UNIXy style programs.

Once you've installed patch, you can take your patch file and apply it in your Strawberry Perl distribution by redirecting it using the redirection operator:
patch < Object-Import-1-004-RT106769.patch

You might have to be in the directory where the of your Object package is located, which would be most likely under C:\Strawberry\perl\lib\Object

UPDATE: Go ahead and follow VinsWorldcom's advice in Re: strawberry perl Windows and apply patch - I didn't know Strawberry already included a patch.exe in C:\Strawberry\c\bin

Replies are listed 'Best First'.
Re^2: strawberry perl Windows and apply patch
by Anonymous Monk on Mar 24, 2018 at 12:10 UTC
    As Vim noted above, Strawberry should provide the patch command for you. I wouldn't recommend applying any patches unless you obtained them from Strawberry, and then these should be accompanied by instructions they provide which should be very-exactly followed.
      I wouldn't recommend applying any patches unless you obtained them from Strawberry

      No - the Strawberry Perl project does not provide patches for Object::Import or any other module.
      My advice would therefore be to not refrain from applying the patch simply because Strawberry does not provide it.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (1)
As of 2023-03-25 14:10 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.