This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avoid a redundant copy in pp_glob
authorFather Chrysostomos <sprout@cpan.org>
Sat, 19 Nov 2011 08:30:14 +0000 (00:30 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 19 Nov 2011 08:30:14 +0000 (00:30 -0800)
commit151cea252da4316fddd84956c61bbb23ecff1bb5
treee30fc39dcafb221fe9b156495bd9223b3266e630
parentf81e39ef0515b391acb6845170bf99abf4edfc28
Avoid a redundant copy in pp_glob

Most of the time, the argument to glob() won’t be tied, so we don’t
need to copy it.  So only copy it if it is gmagical.
pp_sys.c