[Nottingham-pm] Website magically appeared
Duncan John Fyfe
djf at star.le.ac.uk
Wed Feb 25 10:58:53 CST 2004
On Wed, 25 Feb 2004, Michael Erskine wrote:
> All,
>
> After (multiple, failed) attempts to contact the pm.org admins by email
> the website magically started working...
>
> http://nottingham.pm.org/
coo, let's see what can be done... (twiki ?)
> The beginnings of my perl discussions (far from finished), that will
> eventually form a tutorial, are at...
>
> http://nottingham.pm.org/somecode1.html
>
Good start. Code snippets are unreadable on my browser but I'm sure
that'll get fixed somewhere, somewhen.
my $text='blah blah blah';
print STDOUT join("\n", (map { "$_->[0] , $_->[1]" } (sort { $a->[1] <=> $b->[1] || $a->[0] cmp $b->[0] } (map { [$_ , s/([aeiou])/$1/gi]; } (split /\W+/,$text))) ) ),"\n";
Just my contrib to the text processing problem (and yes it split's hyphenated words).
But...
If I/we can put the effort into it a perl 'Guru of the Week', similar to the C++ guru of the week (http://www.gotw.ca/gotw/), could be fun.
Have fun,
Duncan
--
Duncan John Fyfe X-ray Astronomy Group,
Dept. of Physics & Astronomy,
Phone +44 116 252 3635 University of Leicester,
E-mail djf at star.le.ac.uk University Road,
Leicester, LE1 7RH, U.K.
More information about the Nottingham-pm
mailing list