programmerhead
Programmer
I can't seem to find any helpful documentation on how to create two dimensional arrays in perl and sort them. For instance, I have a script that provides a person's name and a description of them in strings in a for loop. I want to be able to sort an array by the first names, while still retaining their relationship to the descriptions.
for($i=0; $i<10; $i++){
my $temp_name = param('$i_name');
my $temp_descrip = param('$i_descrip');
}
Can anyone help me please?
for($i=0; $i<10; $i++){
my $temp_name = param('$i_name');
my $temp_descrip = param('$i_descrip');
}
Can anyone help me please?