Don-Mendo

 view release on metacpan or  search on metacpan

lib/Don/Mendo.pm  view on Meta::CPAN

1; # Magic true value required at end of module


=encoding utf8

=head1 NAME


Don::Mendo - Modules for "La venganza de Don Mendo", Sir Mendo's revenge.

=head1 VERSION

This document describes Don::Mendo version 0.0.3. 

=head1 SYNOPSIS

    use Don::Mendo;
    my $don_mendo = new Don::Mendo;
    my $first_act = $don_mendo->jornadas->[0]; #Acts in the play are
				#"jornadas"
    $first_act->tell(); #Print the whole act
    my $lines_for_mendo = $first_act->lines_for_character('Mendo');
    #Just the lines for the main character
  
=head1 DESCRIPTION

A structured module for "La venganza de Don Mendo", by D. Pedro Muñoz
    Seca, a play written in 1918 and widely known and represented in
    Spain. The text was converted from a PDF found in
    L<www.juntadeandalucia.es/averroes/~04700442a/Mendo.pdf|Averroes
    Plan>.
It's old enough to be in the public domain, so I guess there's no
    problem here. 
 

=head1 INTERFACE 

=head2 new()

Parses the text and sets up journeys, characters, lines and
    everything. 

=head2 text()

Returns the whole text, in the original version

=head2 jornadas()

Returns an arrayref with the 4 journeys that constitute the play

=head1 DEPENDENCIES

Just the basic test and Carp modules

=head1 INCOMPATIBILITIES

This should be compatible with everything, up to and including
    Shakespeare, dada theater, and improv.


=head1 BUGS AND LIMITATIONS

It's not clear from the book if Don Mendo is beautiful or ugly as
    monkey's ass. You can wait for the next version of Don Mendo to
    fix this, but I wouldn't hold my breath.

Please report any bugs or feature requests to
C<bug-don-mendo@rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org>.

=head1 Acknowledgements

	The author is grateful to the Madrid Perl Mongers, for having a
	look at the code and using it in their talks, specially Diego
	Kuperman and Joaquin Ferrero. 
	
=head1 AUTHOR

JJ Merelo  C<< <jj@merelo.net> >>


=head1 LICENCE AND COPYRIGHT

Copyright (c) 2008, JJ Merelo C<< <jj@merelo.net> >>. All rights reserved.

This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself. See L<perlartistic>.


=head1 DISCLAIMER OF WARRANTY

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

=cut 

__DATA__
             Pedro MUÑOZ SECA


LA VENGANZA DE DON MENDO
           caricatura de tragedia



( run in 2.174 seconds using v1.01-cache-2.11-cpan-5b529ec07f3 )