R
René Scheibe
hi folks,
i am a bit new to perl and cant get my problem solved.
i do some network statistics which i have read into 4 arrays.
1. @hosts: holding the hostnames or ips
2. @in: bytes in
3. @out: bytes out
4. @total: bytes in + out
so for one host i have an entry in every array with the same index.
how can i now sort them?
i want them to be ordered depending on @total.
many thanks in advance
rene
i am a bit new to perl and cant get my problem solved.
i do some network statistics which i have read into 4 arrays.
1. @hosts: holding the hostnames or ips
2. @in: bytes in
3. @out: bytes out
4. @total: bytes in + out
so for one host i have an entry in every array with the same index.
how can i now sort them?
i want them to be ordered depending on @total.
many thanks in advance
rene