This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
No need to str*cpy() a string of known fixed length ("_<(eval )") when
authorNicholas Clark <nick@ccl4.org>
Mon, 17 Nov 2008 22:31:07 +0000 (22:31 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 17 Nov 2008 22:31:07 +0000 (22:31 +0000)
commite389bba906c384f4fc3f3ad5e721e737cbd5d54e
tree11bce851f63eeb9c9a3ea2a24fa05bd0155ec80a
parentaac018bb00282d5a72a5c5b4d95935b9eb667bcc
No need to str*cpy() a string of known fixed length ("_<(eval )") when
a simple 1 byte write has the same desired effect.
Clearly the Campaign for the Elimination of strlen() needs to branch
out into str*cat() and str*cpy().

p4raw-id: //depot/perl@34874
pp_ctl.c