Scroll to navigation

Crypt::Random::Source::Base::File(3pm) User Contributed Perl Documentation Crypt::Random::Source::Base::File(3pm)

NAME

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

SYNOPSIS

    use Moose;
    extends qw(Crypt::Random::Source::Base::File);
    has '+path' => (
        default => "/foo/bar",
    );

DESCRIPTION

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

ATTRIBUTES

path

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

METHODS

open_handle

Uses IO::File to open "path" for reading.

AUTHOR

  Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Yuval Kogman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2011-01-05 perl v5.14.2