Re: Newbie: Has anyone used Tie::Hash::TwoWay

2008-02-03 Thread John W. Krahn
axtens wrote: On Feb 1, 10:00 am, [EMAIL PROTECTED] (Rob Dixon) wrote: axtenswrote: G'day everyone Thanks for that. I did, however, give up on using TwoWay and used an idea a colleague had given me, as below: sub Misspellings_Setup { @wordsList = split /\n/, <<'__WORDLIST__' abandonned

Re: Regular expression for extracting hrefs from HTML file

2008-02-03 Thread Gunnar Hjalmarsson
R (Chandra) Chandrasekhar wrote: Dear Folks, I am trying to construct a regular expression to extract strings having the structure http://...";> from HTML files, as part of learning regexes. I have used the script below to do this: -- #!/usr/bin/perl use warnings; use diagnostics;

Re: regexp not working past one character

2008-02-03 Thread Chas. Owens
On Feb 3, 2008 12:07 PM, <[EMAIL PROTECTED]> wrote: > On Feb 2, 11:10 pm, [EMAIL PROTECTED] (John W. Krahn) wrote: > > [EMAIL PROTECTED] wrote: > > > I have a program with a line like > > > > > while () { > > > if (/stuff/i) { > > > print; > > > } > > > } > > > > > When I run t

Re: regexp not working past one character

2008-02-03 Thread PlagueMagazine
On Feb 2, 11:10 pm, [EMAIL PROTECTED] (John W. Krahn) wrote: > [EMAIL PROTECTED] wrote: > > I have a program with a line like > > > while () { > > if (/stuff/i) { > > print; > > } > > } > > > When I run the program, and I replace "stuff" with only one character, > > like "d", it

Re: Regular expression for extracting hrefs from HTML file

2008-02-03 Thread Chas. Owens
On Feb 3, 2008 8:50 AM, R (Chandra) Chandrasekhar <[EMAIL PROTECTED]> wrote: > Dear Folks, > > I am trying to construct a regular expression to extract strings having the > structure > > http://...";> > > from HTML files, as part of learning regexes. I have used the script below to > do > this: sn

Regular expression for extracting hrefs from HTML file

2008-02-03 Thread R (Chandra) Chandrasekhar
Dear Folks, I am trying to construct a regular expression to extract strings having the structure http://...";> from HTML files, as part of learning regexes. I have used the script below to do this: -- #!/usr/bin/perl use warnings; use diagnostics; use strict; # Detect and print ou

Re: Newbie: Has anyone used Tie::Hash::TwoWay

2008-02-03 Thread axtens
On Feb 1, 10:00 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > axtenswrote: > > G'day everyone Thanks for that. I did, however, give up on using TwoWay and used an idea a colleague had given me, as below: sub Misspellings_Setup { @wordsList = split /\n/, <<'__WORDLIST__' abandonned abandoned a

Re: perl error in spamassassin

2008-02-03 Thread Chas. Owens
On Feb 3, 2008 5:24 AM, <[EMAIL PROTECTED]> wrote: > Hi, > I am running a Centos 4.6 box, with perl 5.8.8 and Plesk 8.3, > Spamassasin was running fine until i upgraded some perl modules, now > i get the following error when i try and start spamassassin > > > Can't locate object method "register

perl error in spamassassin

2008-02-03 Thread totalmanwhore
Hi, I am running a Centos 4.6 box, with perl 5.8.8 and Plesk 8.3, Spamassasin was running fine until i upgraded some perl modules, now i get the following error when i try and start spamassassin Can't locate object method "register_domain" via package "IO::Socket::INET" at /usr/lib/perl5/5.8.8/