- or download this
#!/usr/bin/perl
use strict;
...
$table = hash_sub(@ARGV);
print $table;
- or download this
Line_1:Line_1_1:Line_1_2:Line_1_3:Line_1_4
Line_2:Line_2_1:Line_2_2:Line_2_3:Line_2_4
- or download this
Line_3:Line_3_1:Line_3_2:Line_3_3:Line_3_4
- or download this
Line_4:Line_4_1:Line_4_2:Line_4_3:Line_4_4
Line_5:Line_5_1:Line_5_2:Line_6_3:Line_5_4
Line_6:Line_6_1:Line_6_2:Line_6_3:Line_6_4
Line_7:Line_7_1:Line_7_2:Line_7_3:Line_7_4
- or download this
1 Line_1_3 Line_3_3 Line_4_3
2 Line_2_3 Line_5_3
3 Line_6_3
4 Line_7_3
- or download this
1 Line_3_3 Line_4_3 Line_1_3
2 Line_5_3 Line_2_3
3 Line_6_3
4 Line_7_3
- or download this
my $t = Tie::IxHash->new(%hash);
$t->SortByKey;
print Dumper(\$t);