Acme-MetaSyntactic-Themes

 view release on metacpan or  search on metacpan

lib/Acme/MetaSyntactic/olympics.pm  view on Meta::CPAN

    1992   Barcelona
    1988   Seoul
    1984   Los Angeles
    1980   Moscow
    1976   Montreal
    1972   Munich
    1968   Mexico City
    1964   Tokyo
    1960   Rome
    1956   Melbourne
    1952   Helsinki
    1948   London
    1936   Berlin
    1932   Los Angeles
    1928   Amsterdam
    1924   Paris
    1920   Antwerp
    1912   Stockholm
    1908   London
    1904   Saint-Louis
    1900   Paris
    1896   Athens


    Winter Games
    ============

    2018   Pyeongchang
    2014   Sochi
    2010   Vancouver
    2006   Torino
    2002   Salt Lake City
    1998   Nagano
    1994   Lillehammer
    1992   Albertville
    1988   Calgary
    1984   Sarajevo
    1980   Lake Placid
    1976   Innsbruck
    1972   Sapporo
    1968   Grenoble
    1964   Innsbruck
    1960   Squaw Valley
    1956   Cortina d'Ampezzo
    1952   Oslo
    1948   Saint-Moritz
    1936   Garmisch-Partenkirchen
    1932   Lake Placid
    1928   Saint-Moritz
    1924   Chamonix

=cut

        $season = lc $1 and next if $line =~ /(\w+) Games/;
        next if $line !~ /^\s+(\d+)\s+(.*)/;
        my ( $year, $city ) = ( $1, $2 );
        $city =~ s/\W+/_/g;
        $data->{names}{$year}{$season} = $city;
        $data->{names}{$season}{$year} = $city;
    }
    $data->{default} = ':all';

    __PACKAGE__->init($data);
}

1;

__END__

=head1 CONTRIBUTORS

Abigail, Philippe Bruhat.

=head1 CHANGES

=over 4

=item *

2013-09-16 - v1.002

Turned into a multilist, with all combinations of year and seasons
as categories and the location for the 2020 summer olympics
in Acme-MetaSyntactic-Themes version 1.036.

=item *

2012-05-14 - v1.001

Updated by Abigail in Acme-MetaSyntactic-Themes version 1.001.

=item *

2012-05-07 - v1.000

Updated with recent future Olympic cities, and
received its own version number in Acme-MetaSyntactic-Themes version 1.000.

=item *

2006-07-10

Introduced in Acme-MetaSyntactic version 0.82.

=item *

2006-01-26

Submitted by Abigail.

=back

=head1 SEE ALSO

L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::List>.

=cut



( run in 0.404 second using v1.01-cache-2.11-cpan-39bf76dae61 )