DOKK / manpages / debian 12 / libdbix-searchbuilder-perl / DBIx::SearchBuilder::Util.3pm.en
DBIx::SearchBuilder::Util(3pm) User Contributed Perl Documentation DBIx::SearchBuilder::Util(3pm)

DBIx::SearchBuilder::Util - Utility and convenience functions for DBIx::SearchBuilder

    use DBIx::SearchBuilder::Util qw( sorted_values );  # or other function you want

Takes a hash or hashref and returns the values sorted by their respective keys.

Equivalent to

    map { $hash{$_} } sort keys %hash

but far more convenient.

Copyright (c) 2013 Best Practical Solutions, LLC. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2023-04-21 perl v5.36.0