summaryrefslogtreecommitdiff
path: root/t/porting
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2023-01-10 18:48:13 +0000
committerJames E Keenan <jkeenan@cpan.org>2023-01-11 08:58:50 -0500
commit80474df5fe9d8237ccb1cb224b2a849e54014ecd (patch)
tree75528050d3f17bfcc5bb85bd22574ece01063484 /t/porting
parentf91101a0615d2706c3cc4ebc69a428df2363e927 (diff)
downloadperl-80474df5fe9d8237ccb1cb224b2a849e54014ecd.tar.gz
Hint should advise using 'make regen'
Per discussion by @demerphq in https://github.com/Perl/perl5/pull/20682#issuecomment-1377536039. The 'regen' programs should be run with your installed 'perl'. Use single quote in heredoc, as $_ is no longer being interpolated (per @JRaspass in https://github.com/Perl/perl5/pull/20683#discussion_r1066294815).
Diffstat (limited to 't/porting')
-rw-r--r--t/porting/regen.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/porting/regen.t b/t/porting/regen.t
index ee49874d1e..ca1417be16 100644
--- a/t/porting/regen.t
+++ b/t/porting/regen.t
@@ -109,8 +109,8 @@ foreach (@progs) {
note("./perl $args");
my $command = "$^X $args";
system $command
- and die <<~"HINT";
+ and die <<~'HINT';
Hint: A failure in this file can often be corrected by running:
- ./perl -Ilib $_
+ make regen
HINT
}