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

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


Branch: pkgsrc-2022Q3, Version: 0.101nb4, Package name: p5-MooseX-Role-Tempdir-0.101nb4, 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)

Filesize: 4.243 KB

Version history: (Expand)