> -Original Message-
>
> On Mon, 17 Apr 2006, Pettit, Paul wrote:
> > Just to show I'm not trying to do something arcane, here is the
> > (simple) command I'm using:
> >
> > unlink ($ticket_file_name) || &err_trap("Cannot delete
> > $ticket_file_name!\nMessage: $!\n");
> >
> > With the
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, April 19, 2006 5:04 PM
Subject: URL parsing
"foo.bar.com/ignore/this/".
Maybe this
$url = 'http://foo.bar.com/ignore/this/';
($protocol,$remainder,@domain_parts)=tear_it_up($url);
sub tear_it_up {
my $all = sh
Deane-
quick search of ICANN revealed a listing of the 2-letter domains
http://www.iana.org/cctld/cctld-whois.htm
and this information on the other TLDS
source: http://icann.org/cctlds/
Traditionally, the agreement to implement coordinated policies for the
Internet has been informal. As the In
Deane-
My response is embedded.
-Josh
[EMAIL PROTECTED] wrote on 04/19/2006 12:46:24
PM:
>1. URL parsing ([EMAIL PROTECTED])
> --
>
> Message: 1
> Date: Wed, 19 Apr 2006 10:04:35 -0500
> From: [EMAIL PROTECTED]
> Subject: UR
No, there is no "standard perl routine" for splitting host names.
You need to take a step back from your problem and consider it from a
more general view. You seem to want to break up a host name into a
"child" and a "domain".
What is your definition of "domain"? It sounds like you want
[EMAIL PROTECTED] wrote:
>
> I'm doing some splitting of URLs, and things are getting more and more
> complicated, what with suddenly needing to allow two, three, or even
> four character TLDs (.us, .gov, .info). I originally thought I'd only
> need to pass a few common threes--such as .com.
>
>
Daniel Rychlik <> wrote:
> I greatly appreciate the response from everyone regarding my threads.
> After 2 days of research I don't know if what Im trying to do is even
> possible but I've started down this road and with a project deadline
> its difficult to just start over with another language so
[EMAIL PROTECTED] wrote:
> I'm doing some splitting of URLs, and things are getting more and
> more complicated, what with suddenly needing to allow two, three, or
> even four character TLDs (.us, .gov, .info). I originally thought I'd
> only need to pass a few common threes--such as .com.
>
>
Okay, I'm elated at the progress this morning. Once again I can thank
you guys enough for pointing me in the right direction. Take a look at
this quick and dirty example of my use of threads and Thread::Queue
It worked fairly well however my memory usage was on a steady climb as
well as my proce
This cold medicine is throwing me for a loop. What I meant to say was
"or at least it makes no mention of the use of arrays or hashes".
-Original Message-
From: Daniel Rychlik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 9:59 AM
To: Mike Pomraning
Cc: perl-ithreads@perl.
I'm doing some splitting of URLs, and things are getting more and more complicated, what with suddenly needing to allow two, three, or even four character TLDs (.us, .gov, .info). I originally thought I'd only need to pass a few common threes--such as .com.
Is there a standard Perl library routi
Thank you for the suggestions. I will do so moving forward.
Reading through the Thread::Queue documentation it appears that it only
works with scalars and not arrays or hashes or at least makes no mention
of the use of arrays or scalars.
I would like to use Thread::Queue if that's what it take
I greatly appreciate the response from everyone regarding my threads.
After 2 days of research I don't know if what Im trying to do is even
possible but I've started down this road and with a project deadline its
difficult to just start over with another language so I am looking to
exploit threads
13 matches
Mail list logo