Re: Dim sum today

2003-05-29 Thread Juliet Kemp
On Wed, May 28, 2003 at 01:54:22PM +0100, Ben wrote:
 On Wed, May 28, 2003 at 12:13:11PM +0100, Earle Martin wrote:
  On Wed, May 28, 2003 at 11:52:47AM +0100, Nicholas Clark wrote:
   Grubstreet has no entry for New World :-(
  
  It does now.
  
  http://grault.net/cgi-bin/grubstreet.pl?New_World,_W1D_5PA
 
 I'd like to contribute a few pages. Can someone give me a headsup on
 how to make them so that they fit into 'House Style'?

This helpful?

http://grault.net/cgi-bin/grubstreet.pl?search=Category+Wiki+Info


Juliet




Re: [OT] map weirdness

2003-05-29 Thread Dominic Mitchell
Paul Makepeace wrote:
On Wed, May 28, 2003 at 10:42:55AM +0100, Dominic Mitchell wrote:

sub doit {


I like this method too, esp if combined with ?:


   local $_ = $_;
   return if $something;
   return if $other_thing;
   return 1;
}


Just for clarify, return requires a EXPR, it doesn't return $_ by
default.
   return EXPR
   return  Returns from a subroutine, eval, or do FILE with the value
   given in EXPR.  Evaluation of EXPR may be in list, scalar, or
   void context, depending on how the return value will be used,
   and the context may vary from one execution to the next (see
   wantarray).  If no EXPR is given, returns an empty list in
   list context, the undefined value in scalar context, and (of
   course) nothing at all in a void context.  
Yup.  I tend to abuse the return alone means undef quite a lot though, 
as you can see.

-Dom



Re: The answer to the map and disc problem

2003-05-29 Thread Peter Haworth
On Tue, 27 May 2003 09:32:37 -0700, Dave Cross wrote:
 p.s. There's a great letter in this week's Radio Times. Someone is
  complaining about a recent TV version of some Shakespeare play. Their
  complaint is that it was performed in modern dress but the language
  hadn't been updated so they couldn't understand it!

Maybe they should watch Forbidden Planet, or one of the many variations on
Romeo and Juliet that have been made. My 3 second search didn't bring up any
versions of Twelfth Night (the RT correspondent's subject of complaint)
which didn't keep the original name.

-- 
Peter Haworth   [EMAIL PROTECTED]
You cannot pick your nose in Perl without mallocking random chunks
-- Tom Christiansen



Re: The answer to the map and disc problem

2003-05-29 Thread Simon Wilcox
On Wed, 2003-05-28 at 14:41, Peter Haworth wrote:
 On Tue, 27 May 2003 09:32:37 -0700, Dave Cross wrote:
  p.s. There's a great letter in this week's Radio Times. Someone is
   complaining about a recent TV version of some Shakespeare play. Their
   complaint is that it was performed in modern dress but the language
   hadn't been updated so they couldn't understand it!
 
 Maybe they should watch Forbidden Planet, or one of the many variations on
 Romeo and Juliet that have been made. My 3 second search didn't bring up any
 versions of Twelfth Night (the RT correspondent's subject of complaint)
 which didn't keep the original name.

Possibly they were watching William Shakespeare's Romeo + Juliet [1]
staring Leonardo DeCaprio and Claire Danes. I seem to recall that it was
on the other day and does a reasonable job [2] of keeping the text while
updating the setting.

Simon.

[1] http://us.imdb.com/Title?0117509
[2] FSVO, YMMV, IANAMC etc :)



Re: The answer to the map and disc problem

2003-05-29 Thread Jasper McCrea
Peter Haworth wrote:
 
 On Tue, 27 May 2003 09:32:37 -0700, Dave Cross wrote:
  p.s. There's a great letter in this week's Radio Times. Someone is
   complaining about a recent TV version of some Shakespeare play. Their
   complaint is that it was performed in modern dress but the language
   hadn't been updated so they couldn't understand it!
 
 Maybe they should watch Forbidden Planet, or one of the many variations on
 Romeo and Juliet that have been made.

I think you read a different version of Romeo and Juliet than I did at school. 

What are the various shakespeare - strange genre adaptations? I can only think 
of Forbidden Planet offhand.

Jasper
-- 
My carrot-weapon was soft and ineffectual



Re: The answer to the map and disc problem

2003-05-29 Thread Simon Wilcox
On Wed, 2003-05-28 at 14:51, Jasper McCrea wrote:

 What are the various shakespeare - strange genre adaptations? I can only think 
 of Forbidden Planet offhand.

Romeo  Juliet - West Side Story





Re: The answer to the map and disc problem

2003-05-29 Thread Jasper McCrea
Jasper McCrea wrote:
 
 Peter Haworth wrote:
 
  On Tue, 27 May 2003 09:32:37 -0700, Dave Cross wrote:
   p.s. There's a great letter in this week's Radio Times. Someone is
complaining about a recent TV version of some Shakespeare play. Their
complaint is that it was performed in modern dress but the language
hadn't been updated so they couldn't understand it!
 
  Maybe they should watch Forbidden Planet, or one of the many variations on
  Romeo and Juliet that have been made.
 
 I think you read a different version of Romeo and Juliet than I did at school.
 
 What are the various shakespeare - strange genre adaptations? I can only think
 of Forbidden Planet offhand.
 

http://uk.imdb.com/Name?Shakespeare,+William

to answer my own question.

There's even an episode of Dilbert in there.

If there was no copyright expiration date his descendants would be pretty
wealthy.

Jasper
-- 
I think I tore my sack



Re: The answer to the map and disc problem

2003-05-29 Thread Roger Burton West
On Wed, May 28, 2003 at 02:59:44PM +0100, Jasper McCrea wrote:
http://uk.imdb.com/Name?Shakespeare,+William

If there was no copyright expiration date his descendants would be pretty
wealthy.

If he had any still alive.

And if none of them had sold the rights to Disney.

R



Re: The answer to the map and disc problem

2003-05-29 Thread Chris Andrews
On Wed, May 28, 2003 at 02:51:22PM +0100, Jasper McCrea wrote:
 Peter Haworth wrote:
  
  On Tue, 27 May 2003 09:32:37 -0700, Dave Cross wrote:
   p.s. There's a great letter in this week's Radio Times. Someone is
complaining about a recent TV version of some Shakespeare play. Their
complaint is that it was performed in modern dress but the language
hadn't been updated so they couldn't understand it!
  
  Maybe they should watch Forbidden Planet, or one of the many variations on
  Romeo and Juliet that have been made.
 
 I think you read a different version of Romeo and Juliet than I did at school. 
 
 What are the various shakespeare - strange genre adaptations? I can only think 
 of Forbidden Planet offhand.

There's also 'From A Jack To A King' by the same author, with the same
music and cheesy modified Shakespearean dialogue: 'Beware the ids that
march', I ask you. 

I saw a show called 'Fall For Me' at the Fringe -- it's A Midsummer
Night's Dream but with hippies and a rock band and set in 1967. I
suspect there have been plenty of similar shows.

(Ooh -- I heart Google loads: here's a review of it:
http://www.britishtheatreguide.info/otherresources/fringe/fringe98-05.htm)


Chris.



[JOB] (maybe) Leicester

2003-05-29 Thread Dan Sugalski
Hey, folks.

I got mail from a consultant/recruiter in Leicester asking if I knew 
of any perl gurus looking for work. Since I'm not sure where everyone 
is, relatively speaking, I figured I'd pass it on. If anyone's 
interested, get in touch with me and I'll forward your info on, and 
we'll see where things go from there.
--
Dan

--it's like this---
Dan Sugalski  even samurai
[EMAIL PROTECTED] have teddy bears and even
  teddy bears get drunk


Re: The answer to the map and disc problem

2003-05-29 Thread Robin Berjon
Chris Andrews wrote:
On Wed, May 28, 2003 at 02:51:22PM +0100, Jasper McCrea wrote:
What are the various shakespeare - strange genre adaptations? I can only think 
of Forbidden Planet offhand.
There's also 'From A Jack To A King' by the same author, with the same
music and cheesy modified Shakespearean dialogue: 'Beware the ids that
march', I ask you. 
Tom Stoppard's _Fifteen Minute Hamlet_ comes to mind, as well as does 
_Rosencrantz and Guildenstern Are Dead_. I haven't seen the filmed version of 
the former, but the staging of it I saw was great.

It's a pity Stoppard isn't more consistant in his writings, there's a world 
between _Brazil_ or his best plays such as _The Real Inspector Hound_ and say, 
_Shakespeare in Love_ or _The Russia House_.

http://www.imdb.com/Name?Stoppard,+Tom

--
Robin Berjon [EMAIL PROTECTED]
Research Engineer, Expwayhttp://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488



courses by Perl gurus in Ze City of Luv

2003-05-29 Thread Stéphane Payrard
As a special offer, people who will attend one of these courses will
have a free pass to YAPC::EU (http://yapc.mongueurs.net). We need 6
people per course (out of a maximum of 8 ) that commit before 15
June. This is essential to us because failure to do so will compromise
the coming of these gurus to YAPC::EU that is conditionnally sponsored
by pythagore-fd ... except if TPF is kind enough to help us.

Please, note:
  1/ the 2 courses can be taken in succession so that one first learn
  Perl, then learn how to do CGI in Perl. 
  ...Or how to become a Perl CGI wizard from scratch in six days.
  2/ the last day of MJD's course overlap the first day of YAPC.

BooK will send a mail like this one to people already registered to
YAPC. STo these guys, sorry for the duplicate.


 = Beginning Perl
   http://www.pythagore-fd.fr/2/1/LP001.jsp

   Length: 3 days
   Dates:  16, 17, 18 of july
   Price:  1700 Euros
   Reference:  LP001

   Audience:   Perl developpers.
   Speaker:Dan Sugalski (http://www.sidhe.org/~dan/)
   Subjects:
 * Basic syntax
 * Building Perl data type
 * Scoping
 * Control flow
 * Basic file IO
 * Basic string manipulation
 * Basic regular expression
 * Using externarl program
 * Subroutines
 * Using modules
 * An overview of CPAN, perl's public module repository


 = CGI Programming in Perl
   http://www.pythagore-fd.fr/2/1/LP002.jsp

   Length: 3 days
   Dates:  21, 22, 23 of july
   Price:  1900 Euros
   Reference:  LP002

   Audience:   Perl developpers.
   Speaker:Mark Jason Dominus (http://perl.plover.com/yak/aboutme.html)
   Prerequisites: Students should be familiar with the basic use of Perl.
   Subjects: CGI application development

 * Introduction to HTTP and CGI   
   + Browsers and Servers
   + HTTP Session
   + Static Content; Dynamic Content
   + What is CGI?
   + CGI Misconceptions
   + Why CGI Programming can be difficult
   + HTTP
   + Fake HTTP Client; HTTP Response; HTTP Response Header
   + Fake HTTP Server; Fake HTTP Server Output; HTTP Request
   + Back to CGI
   + shellenv CGI Program
   + Content-Type; Missing Content-Type
   + Perl CGI Program
   + Where do the Errors Go?
   + Effect of Syntax and Other Errors; Redirecting STDERR
   + CGI::Carp; fatalsToBrowser'
   + Buffering Surprises
   + Lab

 * Form Processing
   + Forms
   + Form Widgets: text boxes; password boxes; hidden widgets; radio
 buttons; checkboxes; menus; submit buttons; textareas; other widgets
   + Lab 2a
   + Form Submission and Encoding; example
   + GET vs. POST
   + Decoding form input
   + CGI.pm; param()
   + Lab 2b
   + Debugging Techniques
   + CGI.pm convenience functions; persistent form Data;
 CGI-generated HTML
   + Disabling persistent data
   + Lab 2c

* More Advanced CGI Applications
   + Maintaining State
   + Multipage Applications
   + PATH_INFO
   + Lab 3

* CGI System Issues
  Operating System Issues
   + Hazards of local files; distributed filesystem difficulties
   + Concurrency problems: forgotten transactions; lost databases;
 interleaved writes; summary
   + How to fix concurrence problems: file locking flock; typical uses;
 recipes; non-blocking locks; timeout locks
   + Lab 4

* DBI and database access
   + Relational Databases and SQL
   + Communicating with Databases
   + The DBI module; detailed example
   + hazards of interpolation
   + Concurrent access
   + Transactions; AutoCommit
   + RaiseError
   + Other Data Retrieval Functions
   + Documentation
   + Lab 5

* Security Issues
   + CGI is the World's Biggest Security Hole
   + Disaster Example: finger gateway
   + Tainting; perl -T; example; `Insecure Dependency'
   + Untainting Dirty Data
   + Operations that produce tainted data; unsafe operations;
 safe operations
   + The Unix Shell
   + The Two Stances; Why you must be strict; Open and closed
 failure modes
   + Do Not Trust the Browser
   + Lab 6

* Miscellaneous Techniques
   + Network programming
   + email
   + Web client programming and LWP
   + cookies
   + Long-running background jobs
   + caching
   + Dynamic image generation
   + Image maps
   + Drawing graphs
   + LDAP
   + Others topics suggested by the students


--
  stef



Re: weird eval

2003-05-29 Thread Redvers Davies
On Wed, 2003-05-28 at 16:41, Ben wrote:

 I assume a naughty XS module segfaulting will do for it - but are there any
 others?

SIGKILL (Usually 9).






Re: weird eval

2003-05-29 Thread Nick Cleaton
On Wed, May 28, 2003 at 05:41:49PM +0100, Ben wrote:
 What circumstances are there under which eval {}; will not trap a program exit ?

eval { exit };

--
Nick



Re: The answer to the map and disc problem

2003-05-29 Thread James Campbell
What are the various shakespeare - strange genre adaptations? I can
only think 
of Forbidden Planet offhand.

I've come in a bit late here so forgive me if this has been mentioned
already but...

Peter Greenaway's Prospero's books seams to fit into this catergory. A
pretty cool score to go with the fine film too!

-- 
James
'Hey, you have the same problem with your trousers as I do!'
V. Stanshall
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
James Campbell
Research Bioinformatician

Proteome Sciences
Institute of Psychiatry
South Wing Lab
PO BOX P045
16 De Crespigny Park
London SE5 8AF

Tel:+44-(0)20-7848-5111
Fax:+44-(0)20-7848-5114
Email:  [EMAIL PROTECTED]
Web 1:  www.proteome.co.uk
Web 2:  www.proteinworks.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: courses by Perl gurus in Ze City of Luv

2003-05-29 Thread Philippe 'BooK' Bruhat
En réponse à Stéphane Payrard [EMAIL PROTECTED]:

 As a special offer, people who will attend one of these courses will
 have a free pass to YAPC::EU (http://yapc.mongueurs.net). We need 6
 people per course (out of a maximum of 8 ) that commit before 15
 June. This is essential to us because failure to do so will compromise
 the coming of these gurus to YAPC::EU that is conditionnally sponsored
 by pythagore-fd ... except if TPF is kind enough to help us.

Mmm, let me restate this. Dan and MJD *will* come to the conference.

Their travel and lodging will be sponsored either by this company
(if they can manage to find a minimum of 6 students per course),
or by ourselves. I'm sure that our budget will allow for it, given our
other sponsors (especially if we manage to have the catering sponsored).

Now, don't start me on how perfect our communication process is... ;-)

-- 
 Philippe BRUHAT - BooK

 YAPC::Europe à Paris, 23-25 Juillet 2003
 http://yapc.mongueurs.net/



Re: weird eval

2003-05-29 Thread Belden Lyman


Nick Cleaton wrote:
On Wed, May 28, 2003 at 05:41:49PM +0100, Ben wrote:

What circumstances are there under which eval {}; will not trap a program exit ?


eval { exit };



Similarly:

eval { exec perl = -e1 };

Belden




Re: [ANNOUNCE] Tim O'Reilly in London

2003-05-29 Thread David Cantrell
On Tuesday, May 27, 2003 10:12 -0700 Dave Cross [EMAIL PROTECTED] wrote:

Tim O'Reilly will be speaking at The City University, London
on June 23rd. The title of the talk is The Open Source Paradigm
Shift: LAMP as the 'Intel inside' of the next generation of computer
applications.
So is that meant to be a good thing or a bad thing?

--
David Cantrell
Beekeeping is like being a lion tamer, but
with smaller lions, and more of them.
  -- arp


Re: [ANNOUNCE] Tim O'Reilly in London

2003-05-29 Thread Dave Cross
On Wed, May 28, 2003 at 05:56:17PM +0100, David Cantrell ([EMAIL PROTECTED]) wrote:
 On Tuesday, May 27, 2003 10:12 -0700 Dave Cross [EMAIL PROTECTED] wrote:
 
 Tim O'Reilly will be speaking at The City University, London
 on June 23rd. The title of the talk is The Open Source Paradigm
 Shift: LAMP as the 'Intel inside' of the next generation of computer
 applications.
 
 So is that meant to be a good thing or a bad thing?

You'll need to come along to find out.

Dave...

-- 
  It was long ago and it was far away
  And it was so much better that it is today



Re: The answer to the map and disc problem

2003-05-29 Thread Chris Devers
On Wed, 28 May 2003, Jasper McCrea wrote:

 Jasper McCrea wrote:
 
  What are the various shakespeare - strange genre adaptations? I can
  only think of Forbidden Planet offhand.

 http://uk.imdb.com/Name?Shakespeare,+William

 to answer my own question.

Just to add a couple that I don't see on that list, both The Lion King
and Strange Brew are basically just the Hamlet story, redone as Disney
cartoon and Wayne's World / Bill  Ted style buddy comedy, respectively.

Heh -- citing Shakespeare as a source is one thing, but --

115. Wars of the Roses, The (1989) TV Series (writer)

-- goes a bit far, I think :)

 If there was no copyright expiration date his descendants would be pretty
 wealthy.

Well, yes.

But then, he would have made quite a few of his predecessors and their
ancestors wealthy as well. Really it's just hypothetical passing of money
from one generation to the next.

Or something like that. :)


-- 
Chris Devers[EMAIL PROTECTED]

Q:  What is the difference between a duck?
A:  One leg is both the same.



Re: The answer to the map and disc problem

2003-05-29 Thread Mark Fowler
On Wed, 28 May 2003, Chris Devers wrote:

 Heh -- citing Shakespeare as a source is one thing, but --

 115. Wars of the Roses, The (1989) TV Series (writer)

 -- goes a bit far, I think :)

I didn't see him listed for Shakespeare in Love either, though quite a few
lines in it are obviously his.

Random idea 4023: ipdb

Internet Perl Database, featuring all perl code and coders.  You can
then play seven degrees of Leon Brocard.

I'm going to shut up now before someone actually does this.

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};



Re: The answer to the map and disc problem

2003-05-29 Thread Paul Makepeace
On Thu, May 29, 2003 at 12:03:52AM +0100, Mark Fowler wrote:
 Random idea 4023: ipdb
 
 Internet Perl Database, featuring all perl code and coders.  You can
 then play seven degrees of Leon Brocard.

In the same vein at least,

http://www.perlcabal.com/real.html

Paul

-- 
Paul Makepeace ... http://paulm.com/

What is how big is the sky? Telephone sex.
   -- http://paulm.com/toys/surrealism/



Re: weird eval

2003-05-29 Thread Randal L. Schwartz
 Belden == Belden Lyman [EMAIL PROTECTED] writes:

Belden Nick Cleaton wrote:
 On Wed, May 28, 2003 at 05:41:49PM +0100, Ben wrote:
 
 What circumstances are there under which eval {}; will not trap a program exit ?
 eval { exit };
 

Belden eval { exec perl = -e1 };

eval { syscall(1) }; # presuming SYS_exit is 1

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



Net::Whois::RIPE

2003-05-29 Thread Ian Watkinson
I have a list of hosts, that I need to get whois information on, so I turned to my 
trust perl, and tried to get  Net::Whois::RIPE working.

However, I can get the whois header information, and I can get results, but it seems 
to not work for all hosts.

For example I can put a host of whois.joker.com and get info from joker, but not info 
on stuff not from joker.

What I am ideally looking for is something in perl that provides me with the sme 
funcionality as the normal system command whois, as a bare minimum.

If I can do something like 

Use:Clever::Module 

$hostiwant;
$fieldiwant;

$ExpirtyDate = Clever::Module-$hostiwant($fieldiwant);


If anyones done anything like this, or even got  Net::Whois::RIPE working for 
.com .net .edu .co.uk etc, then please let me know.

Thanks.

-- 
Ian Watkinson
Systems Administrator
Technology Group
EHSBrann 

 t: 0207 017 1000
 f: 0202 017 1001
dd: 0207 017 1212

 e: [EMAIL PROTECTED]



Re: weird eval

2003-05-29 Thread Tim Sweetman
Ben wrote:

What circumstances are there under which eval {}; will not trap a program exit ?
 

Changing the subject slightly, you can stop an eval from trapping a 
program exit by doing something with $@ (like, by doing an eval) within 
a DESTROY. Or using a module that does that.

a) exception happens
b) Perl cleans up stuff in that scope, runs the destroy, which puts its 
own stuff in $@
c) outer eval looks at $@, and presumes everything was fine.
d) consequences filter through to wherever.
e) programmers look confused.

Do that trick with DESTROY and eval in a CPAN module, and win the 
Apache::Session Landmine Antipattern Prize![1]

ti

[1] Don't.





Re: Someone must have solved this one ?

2003-05-29 Thread Dirk Koopman
On Tue, 2003-05-27 at 19:44, Nik Butler wrote:
 Heres a problem for the perl ancients among you.
 
 One of our customers ( I say our since like the Borg, ive joined a
 collective ) requires a regular deduplication of list information (
 mostly CSV ) against a existing database (SQL Server 2k) .
 
 now im fairly sure that this is exactly what Perl was designed for ...
 however when searching for tools and advice on utilising those tools I
 do tend to come up a little non plussed.


The trouble is that people are not very consistent at writing their
addresses, neither do they spell terribly exactly.  You can use one or
more of the fuzzy match algorithms, some clever sorting, together with
agrep and friends, but it will only go so far. At the end of the day
there is no substitute for human intervention and eyeball pattern
matching...

Unfortunately, to do this properly requires fuzzy logic and some
intelligent human interaction. Basically, perl is your friend for doing
the obvious, simple stuff - ie the addresses that are identical. Also
for generating the 'possibles' you will need to scan.

The snail mailing list specialists keep this sort of software close to
their chests because it is that which gives them the edge, viz: clean
(deduped) lists, that pays top dollar.

Best of luck...

Dirk
-- 
Please Note: Some Quantum Physics Theories Suggest That When the
Consumer Is Not Directly Observing This Product, It May Cease to
Exist or Will Exist Only in a Vague and Undetermined State.





Re: Net::Whois::RIPE

2003-05-29 Thread Dirk Koopman
jwhois?

On Thu, 2003-05-29 at 07:45, Ian Watkinson wrote:
 I have a list of hosts, that I need to get whois information on, so I turned to my 
 trust perl, and tried to get  Net::Whois::RIPE working.
 
 However, I can get the whois header information, and I can get results, but it seems 
 to not work for all hosts.
 
 For example I can put a host of whois.joker.com and get info from joker, but not 
 info on stuff not from joker.
 
 What I am ideally looking for is something in perl that provides me with the sme 
 funcionality as the normal system command whois, as a bare minimum.
 
 If I can do something like 
 
 Use:Clever::Module 
 
 $hostiwant;
 $fieldiwant;
 
 $ExpirtyDate = Clever::Module-$hostiwant($fieldiwant);
 
 
 If anyones done anything like this, or even got  Net::Whois::RIPE working for 
 .com .net .edu .co.uk etc, then please let me know.
 
 Thanks.
-- 
Please Note: Some Quantum Physics Theories Suggest That When the
Consumer Is Not Directly Observing This Product, It May Cease to
Exist or Will Exist Only in a Vague and Undetermined State.





Re: Net::Whois::RIPE

2003-05-29 Thread Chris Andrews
On Thu, May 29, 2003 at 07:45:27AM +0100, Ian Watkinson wrote:

 I have a list of hosts, that I need to get whois information on, so
 I turned to my trust perl, and tried to get Net::Whois::RIPE
 working.  However, I can get the whois header information, and I can
 get results, but it seems to not work for all hosts.

Net::Whois::RIPE is specifically for the RIPE whois database, which
contains IP address, AS number allocations and the like, rather than
the usual domains.

It actually works really well, which should be expected given that
both it and the database were written by RIPE...

 What I am ideally looking for is something in perl that provides me
 with the sme funcionality as the normal system command whois, as a
 bare minimum.

You'll be lucky. There's a whole bunch of different 'standards' for
the output of whois servers, but there doesn't seem to be a module
that understands them all. 

When I've done this, I've kept a list of relevant whois servers and
strings to match on (I've only been interested in available/
not-available), then use Net::Whois::Raw to actually get the data, and
parse the output by hand.

There's a couple of modules which know about gTLDs and a handful of
ccTLDs, and Net::Domain::ExpireDate seems to know about quite a few
for the expiry date only, but a comprehensive module will be a
maintenance nightmare.


Chris.



Re: Someone must have solved this one ?

2003-05-29 Thread Dirk Koopman
Remind me to read my posts before pressing the send button just one more
time would you?

On Thu, 2003-05-29 at 09:05, Dirk Koopman wrote:
 On Tue, 2003-05-27 at 19:44, Nik Butler wrote:
  Heres a problem for the perl ancients among you.
  
  One of our customers ( I say our since like the Borg, ive joined a
  collective ) requires a regular deduplication of list information (
  mostly CSV ) against a existing database (SQL Server 2k) .
  
  now im fairly sure that this is exactly what Perl was designed for ...
  however when searching for tools and advice on utilising those tools I
  do tend to come up a little non plussed.
 
 
 The trouble is that people are not very consistent at writing their
 addresses, neither do they spell terribly exactly.  You can use one or
 more of the fuzzy match algorithms, some clever sorting, together with
 agrep and friends, but it will only go so far. At the end of the day
 there is no substitute for human intervention and eyeball pattern
 matching...
 
 Unfortunately, to do this properly requires fuzzy logic and some
 intelligent human interaction. Basically, perl is your friend for doing
 the obvious, simple stuff - ie the addresses that are identical. Also
 for generating the 'possibles' you will need to scan.
 
 The snail mailing list specialists keep this sort of software close to
 their chests because it is that which gives them the edge, viz: clean
 (deduped) lists, that pays top dollar.
 
 Best of luck...
 
 Dirk
-- 
Please Note: Some Quantum Physics Theories Suggest That When the
Consumer Is Not Directly Observing This Product, It May Cease to
Exist or Will Exist Only in a Vague and Undetermined State.





Re: Net::Whois::RIPE

2003-05-29 Thread Jason Clifford
On Thu, 29 May 2003, Chris Andrews wrote:

 You'll be lucky. There's a whole bunch of different 'standards' for
 the output of whois servers, but there doesn't seem to be a module
 that understands them all. 

I've had a lot of success with Net::XWhois which seems to address this 
issue.

Jason Clifford
-- 
UKFSN.ORG   Finance Free Software while you surf the 'net
http://www.ukfsn.org/   Sign up now





Re: [ANNOUNCE] Tim O'Reilly in London

2003-05-29 Thread Gabor Szabo
On Wed, 28 May 2003, Joel Bernstein wrote:
  
  Sh. The 'P' is PHP.
 
 Or python.

Or Ruby.   :-0

Gabor







Re: Net::Whois::RIPE

2003-05-29 Thread Mark Morgan
On Thu, 29 May 2003, Chris Andrews wrote:

snip

 There's a couple of modules which know about gTLDs and a handful of
 ccTLDs, and Net::Domain::ExpireDate seems to know about quite a few
 for the expiry date only, but a comprehensive module will be a
 maintenance nightmare.


 Chris.

Very much so.  I have to do minimal parsing of whois information as part
of my work for OpenSRS, and even for that, I run into maintainance
problems.  The biggest cause is that many of the registrars alter their
whois formats on a semi-regular basis, presumably to avoid easy parsing of
em for transfer information.

Mark.




Re: Net::Whois::RIPE

2003-05-29 Thread the hatter
On Thu, 29 May 2003, Ian Watkinson wrote:

 What I am ideally looking for is something in perl that provides me with
 the sme funcionality as the normal system command whois, as a bare
 minimum.

Net::ParseWhois exists and I use it for commercial stuff.  The maintainer
doesn't really maintain it, and as the people who run whois databases
change formats arbitrarily, it needs real users to keep it up-to-date.
However, join the mailing list, and various people post updates and minor
changes.

Primarily it exists for com/net/org, though personally I'm just updating
my version to extract more data for .uk domains.  My effort to make it
work on non-recursive whois systems could probably do with being redone by
someone who really understands objects, but what's there works, and makes
it fairly simple to add new TLDs and new whois formats.  There was some
plottings for me and someone else to officially take over maintainance,
but I've been lacking the tuits to actually sort that.


the hatter



Re: Net::Whois::RIPE

2003-05-29 Thread Chris Andrews
On Thu, May 29, 2003 at 10:26:54AM +0100, Lusercop wrote:
 On Thu, May 29, 2003 at 10:16:19AM +0100, Mark Morgan wrote:
  Very much so.  I have to do minimal parsing of whois information as part
  of my work for OpenSRS, and even for that, I run into maintainance
  problems.  The biggest cause is that many of the registrars alter their
  whois formats on a semi-regular basis, presumably to avoid easy parsing of
  em for transfer information.
 
 Can't you just ask OpenSRS for the information? that's what we do.

If you're transferring from another registrar, you have to parse
*their* information in order to feed it to OpenSRS. 


Chris.



Re: The answer to the map and disc problem

2003-05-29 Thread Peter Haworth
On 28 May 2003 14:56:01 +0100, Simon Wilcox wrote:
 On Wed, 2003-05-28 at 14:51, Jasper McCrea wrote:

  What are the various shakespeare - strange genre adaptations? I can
  only think of Forbidden Planet offhand.

 Romeo  Juliet - West Side Story

That's what I was thinking of, but it kept coming out as Grease, which I
knew wasn't right. My excuse is that I know nothing about West Side Story,
except that it's a version of Romeo and Juliet. Yeah, that'll cover it.

-- 
Peter Haworth   [EMAIL PROTECTED]
Who needs to profile, when Sam can calculate runtime profiles without even
 glancing at the code? Just tell Sam an anecdote about your program, and he'll
 give you a thumbs up or down. -- Len Budney



Re: Net::Whois::RIPE

2003-05-29 Thread Steve Keay
On Thu, May 29, 2003 at 07:45:27AM +0100, Ian Watkinson wrote:
 $ExpirtyDate = Clever::Module-$hostiwant($fieldiwant);

The Gandi guys have a reasonable one:

http://open.gandi.net/download/WhoisExtract/

I wrote a more complete parser but as others have pointed out it's a
real maintainence headache, so it's allways out of date.   I don't
think I'm allowed to release it anyway because it probably belongs to
my employer.

Have the CS people invented AI yet?



Re: Net::Whois::RIPE

2003-05-29 Thread Mark Morgan
On Thu, 29 May 2003, Lusercop wrote:

 Date: Thu, 29 May 2003 10:26:54 +0100
 From: Lusercop `the.lusercop'@lusercop.net
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Net::Whois::RIPE

 On Thu, May 29, 2003 at 10:16:19AM +0100, Mark Morgan wrote:
  Very much so.  I have to do minimal parsing of whois information as part
  of my work for OpenSRS, and even for that, I run into maintainance
  problems.  The biggest cause is that many of the registrars alter their
  whois formats on a semi-regular basis, presumably to avoid easy parsing of
  em for transfer information.

 Can't you just ask OpenSRS for the information? that's what we do.

Because OpenSRS is my employer. :)  The minimal parsing that we need to do
is just to get the admin email address for transfers, but even doing that
changes on an all-to-regular basis for many registrars.

Take care,
Mark.