Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: strawberry perl Windows and apply patch

by Sinistral (Monsignor)
on Mar 23, 2018 at 19:40 UTC ( [id://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 Import.pm 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.

      Cheers,
      Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-29 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found