diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-12-16 14:05:28 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-12-16 14:05:28 -0800 |
commit | 4040665ab6aa79d4f0e579522c09d3f2832279d5 (patch) | |
tree | 812246b9ae8b4181986ca512541c6906a5863f33 /sv.c | |
parent | 6903afa2b8206925f8e1edd9c895a9b40b55199e (diff) | |
download | perl-4040665ab6aa79d4f0e579522c09d3f2832279d5.tar.gz |
perldiag: Retitle ‘Cannot copy’
Without the ‘in %s’ it covers both forms of the error message.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4097,6 +4097,7 @@ Perl_sv_setsv_flags(pTHX_ SV *dstr, register SV* sstr, const I32 flags) } else if (dtype == SVt_PVAV || dtype == SVt_PVHV) { const char * const type = sv_reftype(dstr,0); if (PL_op) + /* diag_listed_as: Cannot copy to %s */ Perl_croak(aTHX_ "Cannot copy to %s in %s", type, OP_DESC(PL_op)); else Perl_croak(aTHX_ "Cannot copy to %s", type); |