WWW::DaysOfWonder::Memoir44::Utils - various subs and constants used in the dist


WWW-DaysOfWonder-Memoir44 documentation Contained in the WWW-DaysOfWonder-Memoir44 distribution.

Index


Code Index:

NAME

Top

WWW::DaysOfWonder::Memoir44::Utils - various subs and constants used in the dist

VERSION

Top

version 2.110310

DESCRIPTION

Top

This module exports various subs used in the dist.

METHODS

Top

DATADIR

    my $file = DATADIR->file( ... );

Return a Path::Class object containing the data directory for the distribution. The directory will be created if needed.

AUTHOR

Top

  Jerome Quelin

COPYRIGHT AND LICENSE

Top


WWW-DaysOfWonder-Memoir44 documentation Contained in the WWW-DaysOfWonder-Memoir44 distribution.

#
# This file is part of WWW-DaysOfWonder-Memoir44
#
# This software is copyright (c) 2009 by Jerome Quelin.
#
# This is free software; you can redistribute it and/or modify it under
# the same terms as the Perl 5 programming language system itself.
#
use 5.010;
use strict;
use warnings;

package WWW::DaysOfWonder::Memoir44::Utils;
BEGIN {
  $WWW::DaysOfWonder::Memoir44::Utils::VERSION = '2.110310';
}
# ABSTRACT: various subs and constants used in the dist

use File::HomeDir::PathClass;
use Sub::Exporter -setup => {
    exports => [ qw{ DATADIR } ],
};



# -- public subs


sub DATADIR {
    return File::HomeDir::PathClass->my_dist_data(
        'WWW-DaysOfWonder-Memoir44', { create => 1 } );
}


1;



__END__