File: Example_05.pm

package info (click to toggle)
libfile-sharedir-projectdistdir-perl 1.000008-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 404 kB
  • ctags: 24
  • sloc: perl: 456; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strict;
use warnings;

package Example_05;

use File::ShareDir::ProjectDistDir ':all', projectdir => 'templates', strict => 1;

use Path::Tiny qw(path);

sub test {
  return scalar path( dist_file( 'Example_05', 'file' ) )->slurp();
}

1;