in reply to Re^2: Need help figuring out how to order/eval the numbers
in thread Need help figuring out how to order/eval the numbers
ok, I read about most of my questions and I think I understand them some but I still have an issue with understanding the error check portion here. don't know what this does
return $numbers{$a} <=> $numbers{$b}; #I guess it's checking against e +achother...but how? is this a subroutine somewhere in a library/modul +e??
after reading, this is still a little vague. I have issues understanding when to use the [] vs (). any clarification will be appreciated.
$hash{$ita}[0]=$spa; #here we assign has_ref $span value address to fi +rst position in array for my $ita (sort { sort_italian() } keys %hash) #here ?? adding value + to array? am I right? not sure...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Need help figuring out how to order/eval the numbers
by aaron_baugher (Curate) on Jun 22, 2015 at 23:59 UTC | |
by perlynewby (Scribe) on Jun 23, 2015 at 01:52 UTC | |
by Anonymous Monk on Jun 23, 2015 at 02:05 UTC | |
|
Re^4: Need help figuring out how to order/eval the numbers
by aaron_baugher (Curate) on Jun 23, 2015 at 00:11 UTC |