The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

ETL::Yertl::Util - Utility functions for Yertl modules

VERSION

version 0.044

SYNOPSIS

DESCRIPTION

SUBROUTINES

load_module

    $class = load_module( format => $format );
    $class = load_module( protocol => $proto );
    $class = load_module( database => $db );

Load a module of the given type with the given name. Throws an exception if the module is not found or the module cannot be loaded.

This function should be used to load modules that the user requests. The error messages are suitable for user consumption.

firstidx

    my $i = firstidx { ... } @array;

Return the index of the first item that matches the code block, or -1 if none match

SEE ALSO

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Doug Bell.

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