Anonymous user
Sort a list of object identifiers: Difference between revisions
→{{header|Perl 6}}: wording
m (J: example has been updated) |
(→{{header|Perl 6}}: wording) |
||
Line 391:
=={{header|Perl 6}}==
The <tt>sort</tt> routine accepts a
<lang perl6>.say for sort *.
1.3.6.1.4.1.11.2.17.19.3.4.0.10
1.3.6.1.4.1.11.2.17.5.2.0.79
Line 412:
</pre>
Alternatively, using the <tt>sprintf</tt>-based approach used by the Perl solution, for comparison ''(input elided)'':
<lang perl6>.say for sort *.
Or if using a third-party module is acceptable:
|