tested and works

This commit is contained in:
Zane C. B-H 2019-07-23 23:18:40 -05:00
parent ec172891f4
commit e440126bc2
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ sub sorter{
die 'The passed item is either not a array or undefined';
}
# whoops... just realized I forgot to create a method for this in Net::Connection... doing it this way foreign
# compatibility with Net::Connection 0.0.0 as of currently
@objects=sort {
&helper( $a->{pid} ) <=> &helper( $b->{pid} )
} @objects;