The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SQL::NamedPlaceholder - extension of placeholder

SYNOPSIS

use SQL::NamedPlaceholder qw(bind_named);

my ($sql, $bind) = bind_named(q[
    SELECT *
    FROM entry
    WHERE
        user_id = :user_id
], {
    user_id => $user_id
});

$dbh->prepare_cached($sql)->execute(@$bind);

DESCRIPTION

SQL::NamedPlaceholder is extension of placeholder. This enable more readable and robust code.

FUNCTION

SYNTAX

AUTHOR

cho45 cho45@lowreal.net

SEE ALSO

LICENSE

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