Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: How to patch this module?

by Corion (Patriarch)
on Mar 28, 2017 at 09:28 UTC ( #1186219=note: print w/replies, xml ) Need Help??

in reply to How to patch this module?

If you're going to manually patch a distribution, you forego most of the automation that CPAN provides you and have to do the steps manually:

  1. Download and unpack the distribution. If in a hurry, you can let CPAN do that for you:
    cpanm --look Devel::CallParser


    cpan CPAN> look Devel::CallParser </li> <li>Patch the distribution: <c> patch < rt110623.patch
  2. Test the distribution:
    perl Makefile.PL make make test
  3. Install the distribution:
    make install
  4. Keep a backup of the current directory, for the next installation

Update: Corrected invocations of tools, as spotted by ibm1620

Replies are listed 'Best First'.
Re^2: How to patch this module?
by ultranerds (Hermit) on Mar 28, 2017 at 09:32 UTC

    Thanks :)

    I just tried the method you said, but it seems to "hang" on the 2nd step:
    root@mail:~# cd Devel-CallParser-0.002/
    root@mail:~/Devel-CallParser-0.002# patch ../fix.patch
    Any ideas?

    Oh, and I also agree about not being able to get the best out of the CPAN system - but unfortunately until they fix the bug in the official release, I can't use it :(



      I don't know what format the patch file is in and how your patch command expects its input.

      The patch command I know expects its input on stdin, which is why I showed the suspected command line as

      patch < whatever.patch

      Maybe your patch command is different.

        Sorry, I missed the < part of your example :) Works now! Thanks
Re^2: How to patch this module?
by ibm1620 (Friar) on May 10, 2022 at 20:33 UTC
    Should that be cpanm --look Devel::CallParser ?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2022-12-07 19:29 GMT
Find Nodes?
    Voting Booth?

    No recent polls found