http://www.perlmonks.org?node_id=1205760


in reply to Re: Dist::Zilla Getting rid of {{$NEXT}} at top of Changes file on GitHub
in thread [SOLVED] Dist::Zilla Getting rid of {{$NEXT}} at top of Changes file on GitHub

Right, I get that. But I'm wondering if there might be a plugin to clean it up before it is committed. I'm thinking of taking a stab at it.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

  • Comment on Re^2: Dist::Zilla Getting rid of {{$NEXT}} at top of Changes file on GitHub

Replies are listed 'Best First'.
Re^3: Dist::Zilla Getting rid of {{$NEXT}} at top of Changes file on GitHub
by 1nickt (Canon) on Dec 18, 2017 at 01:25 UTC

    Right, I get that. But I'm wondering if there might be a plugin to clean it up before it is committed.

    I don't think you do get it :-) If you remove the token, you're not "cleaning up" the template, you're breaking it!


    The way forward always starts with a minimal test.

      Nope, I get it. I solved it. See OP.

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
      $nysus = $PM . ' ' . $MCF;
      Click here if you love Perl Monks

Re^3: Dist::Zilla Getting rid of {{$NEXT}} at top of Changes file on GitHub
by nysus (Parson) on Dec 18, 2017 at 03:19 UTC

    I had to update the solution in the OP a bit. The solution got mangled while editing. And it reminded me that I had a question. I'm forced to use [Run::AfterRelease / MyAppAfter] for the second run command. It's not clear at all to me what the / MyAppAfter bit does.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks