| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Sweet::Home; | 
| 2 | 1 |  |  | 1 |  | 101554 | use strict; | 
|  | 1 |  |  |  |  | 8 |  | 
|  | 1 |  |  |  |  | 63 |  | 
| 3 | 1 |  |  | 1 |  | 9 | use warnings; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 96 |  | 
| 4 |  |  |  |  |  |  |  | 
| 5 |  |  |  |  |  |  | our $VERSION = '0.01'; | 
| 6 |  |  |  |  |  |  |  | 
| 7 |  |  |  |  |  |  | 1; | 
| 8 |  |  |  |  |  |  |  | 
| 9 |  |  |  |  |  |  | =encoding utf8 | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | =head1 NAME | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | Sweet::Home - Dir, File, HomeDir, and other sweet classes | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | =begin HTML | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | <p><a href="https://metacpan.org/pod/Sweet::Home" target="_blank"><img alt="CPAN version" src="https://badge.fury.io/pl/Sweet-Home.svg"></a> <a href="https://travis-ci.org/fibo/Sweet-Home-pm" target="_blank"><img alt="Build Status" src="https://travis-ci.org/fibo/Sweet-Home-pm.svg?branch=master"></a></p> | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | =end HTML | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 22 |  |  |  |  |  |  |  | 
| 23 |  |  |  |  |  |  | use Sweet::Dir; | 
| 24 |  |  |  |  |  |  |  | 
| 25 |  |  |  |  |  |  | my $dir = Sweet::Dir->new(path => '/path/to/mydir'); | 
| 26 |  |  |  |  |  |  |  | 
| 27 |  |  |  |  |  |  | $dir->is_a_directory || $dir->create; | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  | my $dir2 = $dir->sub_dir('foo'); | 
| 30 |  |  |  |  |  |  |  | 
| 31 |  |  |  |  |  |  | $dir2->create; | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  | my $file = $dir2->file('bar'); | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 36 |  |  |  |  |  |  |  | 
| 37 |  |  |  |  |  |  | Nothing is better than feel at home. Where is the home? The home is where I can feel comfortable (cit. Jovanotti). | 
| 38 |  |  |  |  |  |  |  | 
| 39 |  |  |  |  |  |  | This package provides a set of features to make you feel comfortable when working with files and folders. | 
| 40 |  |  |  |  |  |  |  | 
| 41 |  |  |  |  |  |  | It is just syntactic sugar on top of packages like L<'File::Basename'>, L<'File::Copy'>, L<'File::HomeDir'>, L<'File::Path'>, L<'File::Remove'>, L<'File::Spec'>, etc. | 
| 42 |  |  |  |  |  |  |  | 
| 43 |  |  |  |  |  |  | =head1 CLASSES | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | =over 4 | 
| 46 |  |  |  |  |  |  |  | 
| 47 |  |  |  |  |  |  | =item L<Sweet::Dir> | 
| 48 |  |  |  |  |  |  |  | 
| 49 |  |  |  |  |  |  | =item L<Sweet::File> | 
| 50 |  |  |  |  |  |  |  | 
| 51 |  |  |  |  |  |  | =item L<Sweet::HomeDir> | 
| 52 |  |  |  |  |  |  |  | 
| 53 |  |  |  |  |  |  | =back | 
| 54 |  |  |  |  |  |  |  | 
| 55 |  |  |  |  |  |  | =head1 COPYRIGHT AND LICENSE | 
| 56 |  |  |  |  |  |  |  | 
| 57 |  |  |  |  |  |  | This software is copyright (c) 2014 by G. Casati. | 
| 58 |  |  |  |  |  |  |  | 
| 59 |  |  |  |  |  |  | This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. | 
| 60 |  |  |  |  |  |  |  | 
| 61 |  |  |  |  |  |  | =cut | 
| 62 |  |  |  |  |  |  |  |