summaryrefslogtreecommitdiff
path: root/t/pragma/overload.t
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-17 09:41:10 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-17 09:41:10 +0000
commitc6e96bcb406bc8b8d8610606459ff606ad6883aa (patch)
tree111423f8261eb6fc4292e4f06c315bdd53131d12 /t/pragma/overload.t
parenta99e4ac224ca891463a7704e48b83906ece3bb7c (diff)
downloadperl-c6e96bcb406bc8b8d8610606459ff606ad6883aa.tar.gz
allow C<sort $coderef @foo>
p4raw-id: //depot/perl@2246
Diffstat (limited to 't/pragma/overload.t')
-rwxr-xr-xt/pragma/overload.t4
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