On Tue, 09 Oct 2007 13:29:53 -0700
"John W. Krahn" <[EMAIL PROTECTED]> wrote:
PH>Dear John...

> $_ = $kontenurl->gogeturl( $assprm{'kwnya'}, $urlnya, $nohal );
> print $_;
> 
> But why not just:
> 
> print $kontenurl->gogeturl( $assprm{'kwnya'}, $urlnya, $nohal );

PH>Because I want to put the result (of retrieving an URL) into a variable.
 
> 
> > print "<hr>";
> > print "<table border=1>";
> > $i=0;
> 

> The third argument of substr() is the length of the string you want but 
> index() returns the offset of the location of the sub-string.  Also there 
> could be an "</a>" string *before* the "<a. class=l>" string in $_.

PH>Och... thanks, John... :) 

> > Please tell me where my mistake.
> 
> Use a module that understands HTML and can parse it correctly.
 
PH>Could you give me an example which pm I can use to parse HTML tags? 

PH>Thank you very...very... much for your help, John.

> John
> -- 
> Perl isn't a toolbox, but a small machine shop where you
> can special-order certain sorts of tools at low cost and
> in short order.                            -- Larry Wall
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
> 
> 


-- 
Patrik Hasibuan <[EMAIL PROTECTED]>
Junior Programmer

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to