Crypt::Random::Source::Base::File - File (or device) random data sources


Crypt-Random-Source documentation  | view source Contained in the Crypt-Random-Source distribution.

Index


NAME

Top

Crypt::Random::Source::Base::File - File (or device) random data sources

SYNOPSIS

Top

    use Moose;
    extends qw(Crypt::Random::Source::Base::File);

    has '+path' => (
        default => "/foo/bar",
    );

DESCRIPTION

Top

This is a base class for file (or file like) random data sources.

ATTRIBUTES

Top

path

A required attribute, the path to the file to open.

METHODS

Top

open_handle

Uses IO::File to open path for reading.

AUTHOR

Top

  Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE

Top


Crypt-Random-Source documentation  | view source Contained in the Crypt-Random-Source distribution.