Path to this page:
./
devel/p5-MooseX-Role-Tempdir,
(Perl Module) Moose role to provide temporary directories
Branch: pkgsrc-2020Q3,
Version: 0.101nb2,
Package name: p5-MooseX-Role-Tempdir-0.101nb2,
Maintainer: pkgsrc-usersMooseX::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: 8284792da8a331308bbd30ba3e797fafd38e821a
RMD160: ae3c6babbe0102c00a88c1fc9017ddc38948e9c3
Filesize: 4.243 KB
Version history: (Expand)
- (2020-10-10) Package added to pkgsrc.se, version p5-MooseX-Role-Tempdir-0.101nb2 (created)