| 1 | package Acme::MetaSyntactic::daleks; | ||
| 2 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 8 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 8 | ▶ | use Acme::MetaSyntactic::List; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 8 | ▶ | use vars qw(%Remote); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | { | ||
| 8 | 8 | ▶ | no strict "vars"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 8 | $VERSION = '1.05'; | |
| 10 | 8 | @ISA = qw(Acme::MetaSyntactic::List); | |
| 11 | } | ||
| 12 | |||
| 13 | 8 | *_tr_nonword = \&Acme::MetaSyntactic::RemoteList::tr_nonword; | |
| 14 | |||
| 15 | 0 | ▶ | sub _uniq { return keys %{ { map { $_ => 1 } @_ } } } |
|
Subroutine
_uniq: not called CC=1 SCAR=6.9
| |||
| 16 | |||
| 17 | %Remote = ( | ||
| 18 | source => "http://maddingue.org/daleks/movies.txt", | ||
| 19 | 0 | ▶ | extract => sub { |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 20 | return sort _uniq( | ||
| 21 | 0 | map { $_ = _tr_nonword($_) ; s/^_+|_+$//g ; s/_+/_/g ; $_ } | |
| 22 | 0 | grep { !/^\d/ } | |
| 23 | 0 | grep { length } | |
| 24 | split "\012", shift | ||
| 25 | ) | ||
| 26 | }, | ||
| 27 | 8 | ); | |
| 28 | |||
| 29 | 8 | __PACKAGE__->init(); | |
| 30 | |||
| 31 | 8 | q!EXTERMINATE!; | |
| 32 | |||
| 33 | =head1 NAME | ||
| 34 | |||
| 35 | Acme::MetaSyntactic::daleks - EXTERMINATE! EXTERMINATE! EXTERMINATE! | ||
| 36 | |||
| 37 | =head1 VERSION | ||
| 38 | |||
| 39 | Version 1.05 | ||
| 40 | |||
| 41 | =head1 SYNOPSIS | ||
| 42 | |||
| 43 | See L<Acme::MetaSyntactic>. | ||
| 44 | |||
| 45 | =head1 DESCRIPTION | ||
| 46 | |||
| 47 | A list of movies for the Daleks. A collective work of C<#perl>. | ||
| 48 | See L<http://use.perl.org/~statico/journal/21689> | ||
| 49 | |||
| 50 | I've tried to remove all the duplicates and comments I could find, | ||
| 51 | but there are probably still a few left. The source file used to | ||
| 52 | generate this module is located at L<http://maddingue.org/daleks/movies.txt>. | ||
| 53 | Don't hesitate to send patch to remove duplicate or wrong entries, | ||
| 54 | or to propose new entries. | ||
| 55 | |||
| 56 | =head1 SUPPORT | ||
| 57 | |||
| 58 | You can find documentation for this module with the perldoc command. | ||
| 59 | |||
| 60 | perldoc Acme::MetaSyntactic::daleks | ||
| 61 | |||
| 62 | You can also look for information at: | ||
| 63 | |||
| 64 | =over 4 | ||
| 65 | |||
| 66 | =item * RT: CPAN's request tracker | ||
| 67 | |||
| 68 | L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Acme-MetaSyntactic-daleks> | ||
| 69 | |||
| 70 | =item * AnnoCPAN: Annotated CPAN documentation | ||
| 71 | |||
| 72 | L<http://annocpan.org/dist/Acme-MetaSyntactic-daleks> | ||
| 73 | |||
| 74 | =item * CPAN Ratings | ||
| 75 | |||
| 76 | L<http://cpanratings.perl.org/d/Acme-MetaSyntactic-daleks> | ||
| 77 | |||
| 78 | =item * Search CPAN | ||
| 79 | |||
| 80 | L<http://search.cpan.org/dist/Acme-MetaSyntactic-daleks> | ||
| 81 | |||
| 82 | =back | ||
| 83 | |||
| 84 | =head1 SEE ALSO | ||
| 85 | |||
| 86 | L<Acme::MetaSyntactic> | ||
| 87 | |||
| 88 | =head1 COPYRIGHT & LICENSE | ||
| 89 | |||
| 90 | Copyright 2007 SE<eacute>bastien Aperghis-Tramoni, all rights reserved. | ||
| 91 | |||
| 92 | This program is free software; you can redistribute it and/or modify it | ||
| 93 | under the same terms as Perl itself. | ||
| 94 | |||
| 95 | =cut | ||
| 96 | |||
| 97 | __DATA__ | ||