./devel/p5-MooseX-Role-Tempdir, (Perl Module) Moose role to provide temporary directories

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2017Q3, Version: 0.100nb1, Package name: p5-MooseX-Role-Tempdir-0.100nb1, Maintainer: pkgsrc-users

MooseX::Role::Tempdir - Moose role to provide temporary directories
---------------
package My::Awesome::Package;
use Moose;
with 'MooseX::Role::Tempdir';

my $newfh;
open($newfh, '>', $self->tmpdir()."/newfile") or die "ohno! $!";
...
----------------


Master sites: (Expand)

SHA1: f9b06e0e296886e8e464922503f0d23ba4fd623e
RMD160: 2b5fe8df76dc5923eddaaac242a072e796771047
Filesize: 4.153 KB

Version history: (Expand)