load => [qw(load_optional load_xs try_load_optional)],
search => [qw(query search search_limited simple_expression_query)],
text => [qw(snakify trim)],
- uuid => [qw(format_uuid generate_uuid is_uuid uuid)],
+ uuid => [qw(format_uuid generate_uuid is_uuid uuid UUID_NULL)],
uri => [qw(split_url uri_escape_utf8 uri_unescape_utf8)],
);
sub extends {
my $parent = shift;
my $caller = caller;
- load $parent;
+ # load $parent;
+ eval qq[require $parent];
no strict 'refs'; ## no critic (ProhibitNoStrict)
@{"${caller}::ISA"} = $parent;
}
=func simple_expression_query
$query = simple_expression_query($expression, @fields);
+ $query = simple_expression_query($expression, $operator, @fields);
Generate a query, like L</query>, to be used with L</search> but built from a "simple expression" as
L<described here|https://keepass.info/help/base/search.html#mode_se>.
}
+=func UUID_NULL
+
+Get the null UUID (i.e. string of 16 null bytes).
+
+=cut
+
+sub UUID_NULL() { "\0" x 16 }
+
### --------------------------------------------------------------------------
# Determine if an array looks like keypairs from a hash.