NAME
Acme::PM::London::Maps::Earth - where in the world are London.pm members?
SYNOPSIS
use Acme::PM::London::Maps::Earth;
new Acme::PM::London::Maps::Earth (MAP=>"THE WORLD","PATH"=>"E:/src/pl/out.html");
# or
Acme::PM::London::Maps::Earth::all("E:/src/pl/");
__END__
DESCRIPTION
Imports a world map, and exports a world map with details of London.pm users scrawled over it, wrapped in an HTML page. This is a quick hack - no SQL, no CGI, no nice WWW look-ups, nothing.
I was bored and got this message:
From: london.pm-admin@london.pm.org
[mailto:london.pm-admin@london.pm.org]On Behalf Of Philip Newton
Sent: 21 June 2001 11:44
To: 'london.pm@london.pm.org'
Subject: Re: headers
Simon Wistow wrote:
> It's more a collection of people who have the common connection
> that they live and london and like perl.
> In fact neither of those actually have to be true since I personally
> know two people on the list who don't program Perl and one of whom
> doesn't even live in London.
How many off-London people have we got? (Well, also excluding people who
live near London.)
From outside the UK, there's Damian, dha, Paul M, I; Lucy and lathos
probably also qualify as far as I can tell. Marcel used to work in London
(don't know whether he still does). Anyone else?
Cheers,
Philip
--
Philip Newton <Philip.Newton@datenrevision.de>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.
In the twenty-second weekly summary of the London Perl Mongers mailing list, for the week starting 2001-06-18:
In other news: ... a london.pm world map ...
PREREQUISITES
Carp;
Data::Dumper;
File::Basename;
GD;
strict;
warnings.
DISTRIBUTION CONTENTS
.earth.dat
london_postcodes.jpg
uk.jpg
world.jpg
TODO
Map all locations to all maps.
Constructor (new)
Returns a new object of this class. Accepts arguments in a hash, where keys/values are:
- MAP
-
Either
THE WORLD
,THE UK
,LONDON
. - PATH
-
The path at which to save - supply a dummy filename, please, coz I'm lazy. You will receive a
.jpg
and.html
file in return. - CHAT
-
Set if you want rabbit on the screen.
&all ($base_path,$base_url)
This subroutine produces all available maps, and an index page.
It accepts two argument, a path at which files can be built, and a corresponding URL. If you supply a filename, it will be ignored.
The following files are produced:
m_MAPNAME.jpg * number of maps
m_MAPNAME.html * number of maps
m_index.html
where MAPNAME is ... the name of the map.
SEE ALSO
perl(1); GD; File::Basename; Acme::Pony; Data::Dumper.
AUTHOR
Lee Goddard <lgoddard@cpan.org>
COPYRIGHT
Copyright (C) Lee Goddard, 2001. All Rights Reserved.
This module is supplied and may be used under the same terms as Perl itself.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 85:
'=item' outside of any '=over'
- Around line 116:
You forgot a '=back' before '=head2'