Skip to content

Commit

Permalink
Devel::PPPort - Reconciliate changes with GitHub 26a6a909
Browse files Browse the repository at this point in the history
  • Loading branch information
atoomic committed Sep 27, 2019
1 parent 10b0079 commit 8706ada
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 512 deletions.
19 changes: 0 additions & 19 deletions dist/Devel-PPPort/HACKERS
Original file line number Diff line number Diff line change
Expand Up @@ -294,25 +294,6 @@ which are described further below).

=over 4

Here you can add additional information for a given item that will be displayed
when F<ppport.h> is run. If your item is named C<foo>, you add a
comment like so:

/* Hint: foo
paragraphs of stuff about foo you want to have
shown when ppport.h outputs something about foo
*/

This will cause S<C<perl ppport.h>> to display this hint when it outputs
something about C<foo>.

A more serious caution about C<foo> can be displayed by instead saying

/* Warning: foo
paragraphs of stuff about foo you want to have
shown when ppport.h outputs something about foo
*/

=item *

You will first need a whole bunch of different Perls, the more, the better, but
Expand Down
6 changes: 3 additions & 3 deletions dist/Devel-PPPort/mktests.PL
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ sub generate_tests
print "generating $testfile\n";

my $tmpl = $template;
# ensure we get the same result on Win32
(my $source = $file) =~ s(\\)(/)g;
$tmpl =~ s/__SOURCE__/$source/mg;
my $canonfile = $file;
$canonfile =~ tr!\\!/!; # MSWin32 use backslashes
$tmpl =~ s/__SOURCE__/$canonfile/mg;
$tmpl =~ s/__PLAN__/$spec->{OPTIONS}{tests}{plan}/mg;
$tmpl =~ s/^__TESTS__$/$spec->{tests}/mg;

Expand Down
Loading

0 comments on commit 8706ada

Please sign in to comment.