Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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 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
Node Status?
node history
Node Type: note [id://1211633]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2020-06-05 04:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?