- or download this
#!/usr/bin/perl
...
$, = "\n";
print sort caseless ('a','s','d','f');
- or download this
use Exporter;
package Sorts;
...
@Sorts::EXPORT = qw(caseless);
sub caseless { lc $a cmp lc $b }
- or download this
use Exporter;
package Sorts;
...
@Sorts::EXPORT = qw(caseless $a $b);
sub caseless { lc $a cmp lc $b }
- or download this
use Exporter;
package Sorts;
...
@Sorts::EXPORT = qw(caseless *a *b);
sub caseless { lc $a cmp lc $b }
- or download this
a
s
d
f
- or download this
a
d
f
s