diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-17 09:41:10 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-17 09:41:10 +0000 |
commit | c6e96bcb406bc8b8d8610606459ff606ad6883aa (patch) | |
tree | 111423f8261eb6fc4292e4f06c315bdd53131d12 /op.c | |
parent | a99e4ac224ca891463a7704e48b83906ece3bb7c (diff) | |
download | perl-c6e96bcb406bc8b8d8610606459ff606ad6883aa.tar.gz |
allow C<sort $coderef @foo>
p4raw-id: //depot/perl@2246
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5053,6 +5053,8 @@ ck_sort(OP *o) kid->op_next = k; o->op_flags |= OPf_SPECIAL; } + else if (kid->op_type == OP_RV2SV || kid->op_type == OP_PADSV) + null(cLISTOPo->op_first->op_sibling); } return o; |