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 /t/pragma/overload.t | |
parent | a99e4ac224ca891463a7704e48b83906ece3bb7c (diff) | |
download | perl-c6e96bcb406bc8b8d8610606459ff606ad6883aa.tar.gz |
allow C<sort $coderef @foo>
p4raw-id: //depot/perl@2246
Diffstat (limited to 't/pragma/overload.t')
-rwxr-xr-x | t/pragma/overload.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/pragma/overload.t b/t/pragma/overload.t index da857715b3..c013a7cb36 100755 --- a/t/pragma/overload.t +++ b/t/pragma/overload.t @@ -778,8 +778,8 @@ test($c, "bareword"); # 135 test "@sorted", '22 11 5 2 1'; # 189 # Scalar test $$deref, 123; # 190 - # Glob - @sorted = sort $deref 11, 2, 5, 1, 22; + # Code + @sorted = sort $srt 11, 2, 5, 1, 22; test "@sorted", '22 11 5 2 1'; # 191 # Array test "@$deref", '11 12 13'; # 192 |