Acme-Shining

 view release on metacpan or  search on metacpan

lib/Acme/Shining.pm  view on Meta::CPAN

package Acme::Shining;

use 5.006;
use strict;
use warnings FATAL => 'all';
use Time::HiRes 'sleep';

=head1 NAME

Acme::Shining - All work and no play makes Jack a dull boy

=head1 VERSION

Version 0.01

=cut

our $VERSION = '0.01';


=head1 SYNOPSIS

Inform your coworkers of your great pleasure at their imminent pain and death.


    use Acme::Shining;

    my_novel();

=head1 FUNCTIONS

=head2 my_novel()

Print your novel. Like the psychosis of your mind, this function has no end.

=cut

sub my_novel {
    do {
        print _getline();
        sleep(.001);
    } while (1)
}

sub _getline {
    my $s = "All work and no play makes Jack a dull boy\n";
    my $replace = int(rand(length("All work and no play makes Jack a dull boy\n")));
    (substr($s, $replace, 1, uc(substr($s, $replace, 1))), return $s);
}

=head1 AUTHOR

Jack Torrance, C<< <jtorrance at overlookhotel.or.us> >>

=head1 BUGS

Please report any bugs or feature requests to C<bug-acme-shining at rt.cpan.org>, or through
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Acme-Shining>.  I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.

=head1 SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Acme::Shining


You can also look for information at:

=over 4

=item * RT: CPAN's request tracker (report bugs here)

L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Acme-Shining>

=item * AnnoCPAN: Annotated CPAN documentation

L<http://annocpan.org/dist/Acme-Shining>

=item * CPAN Ratings

L<http://cpanratings.perl.org/d/Acme-Shining>

=item * Search CPAN

L<http://search.cpan.org/dist/Acme-Shining/>

=back


=head1 ACKNOWLEDGEMENTS


=head1 LICENSE AND COPYRIGHT

Copyright 2015 Jack Torrance.

This program is free software; you can redistribute it and/or modify it
under the terms of the the Artistic License (2.0). You may obtain a
copy of the full license at:

L<http://www.perlfoundation.org/artistic_license_2_0>

Any use, modification, and distribution of the Standard or Modified
Versions is governed by this Artistic License. By using, modifying or
distributing the Package, you accept this license. Do not use, modify,
or distribute the Package, if you do not accept this license.



( run in 1.048 second using v1.01-cache-2.11-cpan-13bb782fe5a )