| Dist-Zilla documentation | Contained in the Dist-Zilla distribution. |
Dist::Zilla::File::InMemory - a file that you build entirely in memory
version 4.200008
This represents a file created in memory -- it's not much more than a glorified
string. It has a read/write content attribute that holds the octets that
will be written to disk.
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2011 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Dist-Zilla documentation | Contained in the Dist-Zilla distribution. |
package Dist::Zilla::File::InMemory; BEGIN { $Dist::Zilla::File::InMemory::VERSION = '4.200008'; } # ABSTRACT: a file that you build entirely in memory use Moose; has content => ( is => 'rw', isa => 'Str', required => 1, ); with 'Dist::Zilla::Role::File'; __PACKAGE__->meta->make_immutable; no Moose; 1; __END__