Home > Archive > PERL Miscellaneous > October 2006 > help needed
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| novostik@googlemail.com 2006-10-30, 7:09 pm |
| hi guys ,
i m new to perl.i want to know how perl programming is
done to extract links etc from html pages using HTML:linkextor ,
LWP:useragent etc......so could u please provide me some links from
where i can start.
It would be of great help.
| |
| usenet@DavidFilmer.com 2006-10-30, 7:09 pm |
| novostik@googlemail.com wrote:
> i m new to perl.i want to know how perl programming is
> done to extract links etc from html pages using HTML:linkextor ,
> LWP:useragent etc......so could u please provide me some links from
> where i can start.
Hmmm. I first thought, "you gotta be kidding me" but then I noticed
that you only use one colon (doublepoint) in the module names, and that
won't resolve in CPAN. The proper names of the modules are
HTML::LinkExtor and LWP::UserAgent (note '::'). CPAN likes that much
better:
http://search.cpan.org/~gaas/HTML-P...ML/LinkExtor.pm
http://search.cpan.org/~gaas/libwww...WP/UserAgent.pm
--
David Filmer (http://DavidFilmer.com)
| |
| Michele Dondi 2006-10-30, 7:09 pm |
| On 24 Oct 2006 20:26:55 -0700, "novostik@googlemail.com"
<novostik@googlemail.com> wrote:
>Subject: help needed
Me too! So what? How 'bout putting the subject of your post in the
Subject?!?
>hi guys ,
hi dude,
> i m new to perl.i want to know how perl programming is
i m not new to perl.
>done to extract links etc from html pages using HTML:linkextor ,
>LWP:useragent etc......so could u please provide me some links from
No such things as HTML:linkextor or LWP:useragent. But perhaps you
want to read
perldoc HTML::LinkExtor
perldoc LWP::UserAgent
>where i can start.
From the above. Of course some basic introductory book about Perl
would be quite useful as well.
>It would be of great help.
Hope so.
Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{po
p^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
| |
| Michele Dondi 2006-10-30, 7:09 pm |
| On 24 Oct 2006 22:15:10 -0700, usenet@DavidFilmer.com wrote:
>Hmmm. I first thought, "you gotta be kidding me" but then I noticed
>that you only use one colon (doublepoint) in the module names, and that
And also wrong capitalization, BTW.
Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{po
p^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
| |
| Tad McClellan 2006-10-30, 7:09 pm |
| novostik@googlemail.com <novostik@googlemail.com> wrote:
> Subject: help needed
Subject needed.
--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas
| |
| novostik@googlemail.com 2006-10-30, 7:09 pm |
| Sorry guys,
as i told u i am new to perl , i must have missed those
columns.....thanks for the links David.But aren't there any tutorials
abt these...i needed a bit of elaboration.
Tad McClellan wrote:
> novostik@googlemail.com <novostik@googlemail.com> wrote:
>
>
>
> Subject needed.
>
>
> --
> Tad McClellan SGML consulting
> tadmc@augustmail.com Perl programming
> Fort Worth, Texas
| |
| Michele Dondi 2006-10-30, 7:09 pm |
| On 25 Oct 2006 10:25:07 -0700, "novostik@googlemail.com"
<novostik@googlemail.com> wrote:
(Slightly edited for clarity)
[color=darkred]
>Sorry guys,
>as i told u i am new to perl , i must have missed those
Are you new to English as well? How 'bout some proper capitalization?
How 'bout not using this... l33t talk? And the post you're replying to
is not about your being new to Perl. It's about putting the subject of
one's post in the Subject.
>columns.....thanks for the links David.But aren't there any tutorials
Which columns? Who is David? (I know but) you're replying to Tad,
aren't you?
>abt these...i needed a bit of elaboration.
And the question is? I have a vague idea of you having some trouble
reading the documentation of the modules you're interested in using.
If so, then you should point out *which* difficulties you're actually
having...
Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{po
p^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
| |
| usenet@DavidFilmer.com 2006-10-30, 7:09 pm |
| Michele Dondi wrote:
> And also wrong capitalization, BTW.
Yeah, but http://search.cpan.org isn't case sensitive, so that wouldn't
cause the OP to not be able to find the relevant perldocs. Of course,
it would cause perl to not find the module ;-)
--
The best way to get a good answer is to ask a good question.
David Filmer (http://DavidFilmer.com)
| |
| Michele Dondi 2006-10-30, 7:09 pm |
| On 25 Oct 2006 13:24:29 -0700, usenet@DavidFilmer.com wrote:
>
>Yeah, but http://search.cpan.org isn't case sensitive, so that wouldn't
>cause the OP to not be able to find the relevant perldocs. Of course,
>it would cause perl to not find the module ;-)
That's why it was BTW! ;-)
Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{po
p^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
..'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
|
|
|
|
|