| 1 | package Author::Daemon; | ||
| 2 | |||
| 3 | use v5.28; | ||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | use experimental 'signatures'; | ||
| 7 | |||
| 8 | use Data::Dumper; | ||
| 9 | |||
| 10 | # Load all our submodules | ||
| 11 | use Author::Daemon::Enviroment::Absorb; | ||
| 12 | use Author::Daemon::Log::Basic; | ||
| 13 | use Author::Daemon::Snippet::Time; | ||
| 14 | |||
| 15 | our $VERSION = '0.001'; | ||
| 16 | |||
| 17 | sub new ( $class ) { | ||
| 18 | my $self = {}; | ||
| 19 | bless $self, $class; | ||
| 20 | return $self; | ||
| 21 | } | ||
| 22 | |||
| 23 | 1; | ||
| 24 | |||
| 25 | =head1 NAME | ||
| 26 | |||
| 27 | Author::Daemon - daemon's helpful creations | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | use Author::Daemon; | ||
| 32 | |||
| 33 | my $util = Author::Daemon->new(); | ||
| 34 | |||
| 35 | $util->read_the_docs(); | ||
| 36 | |||
| 37 | =for comment Brief examples of using the module. | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | A place to store my things! | ||
| 42 | |||
| 43 | Over the years I realized I was in the habbit of rewriting a lot of common | ||
| 44 | functionalities that on there own did not warrent a fully fledged module, | ||
| 45 | simply due to them requiring expansion of functionality, more git repositories, | ||
| 46 | more tests ... more work than just re-writing the snippets when they was | ||
| 47 | required. | ||
| 48 | |||
| 49 | However, when I worked out just how much time I had likely wasted re-writing | ||
| 50 | loose odds and ends, I decided something must be done, but what? | ||
| 51 | |||
| 52 | Well after some thought I decided that I would slowly add all my little tidbits | ||
| 53 | into one singular module nicely packed in git with dzil with some form of | ||
| 54 | generic interface so it was easy to add other bits of code here and there with | ||
| 55 | no more cost than what it would cost me to once again re-write those snippets. | ||
| 56 | |||
| 57 | I could not see or find an actual reference to how a pause/perl user should | ||
| 58 | really go about such a thing while still keeping the ease of a published | ||
| 59 | module, there seems to be no particular Author who has ever done what I am | ||
| 60 | attempting (could be wrong though!); so after even more thought. I come to the | ||
| 61 | conclusion the ideal solution would be A namespace providing the previously | ||
| 62 | stated single interface that could not collide with fully fledged modules, | ||
| 63 | almost a 'users unreleased'. | ||
| 64 | |||
| 65 | I found that Author::__PAUSEID__ seemed to hit the nail on the head, at the | ||
| 66 | time of writing is not reserved in anyway infact I could not see any modules | ||
| 67 | using the prefix at all. Though I am hoping one or two module authors like the | ||
| 68 | idea to hopefully push the idea forwards. | ||
| 69 | |||
| 70 | From what I can see, it is a benefit to everyone - the authors have a nice | ||
| 71 | public place to fetch their favorite play things and possible others will find | ||
| 72 | the odd 'never made a module but still a cool function' enough to develop them | ||
| 73 | further into actual modules. | ||
| 74 | |||
| 75 | Let me know how you feel if you do stumble over this module (either message me | ||
| 76 | on irc libera.org or perl.org nickname 'daemon' or drop me an issue against the | ||
| 77 | repository for this module on github) | ||
| 78 | |||
| 79 | =for comment The module's description. | ||
| 80 | |||
| 81 | =head1 INDEX | ||
| 82 | |||
| 83 | Below is all functionality offered via the suite of modules under the namespace though some may require other modules to be availible (this will be noted). | ||
| 84 | |||
| 85 | * Nothing yet working on it! | ||
| 86 | |||
| 87 | =head2 | ||
| 88 | |||
| 89 | =head1 AUTHOR | ||
| 90 | |||
| 91 | Paul G Webster <daemon@cpan.org> | ||
| 92 | |||
| 93 | =head1 COPYRIGHT AND LICENSE | ||
| 94 | |||
| 95 | This software is copyright (c) 2022 by Paul G Webster. | ||
| 96 | |||
| 97 | This is free software; you can redistribute it and/or modify it under | ||
| 98 | the same terms as the Perl 5 programming language system itself. |