Gossamer Forum
Quote Reply
GT::URI
In the GT::URI docs is the semi-colon after each argument a typo or is it supposed to be there?

Code:
my $docs = GT::URI->get( "http://www.gossamer-threads.com/";, "http://www.google.com/";, "http://www.somethingelse.com"; );
Quote Reply
Re: [Paul] GT::URI In reply to
Typo! But GT::URI is depreciated, use GT::WWW instead. =)

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] GT::URI In reply to
This is part of a plugin - was GT::WWW not added to Links SQL 2.1.2?

There is also another error in the docs in one of the examples...it says:

use GT::URI;
my $docs = GT::URI::HTTP->get("http://www.someurl.com");


....but obviously you need:

use GT::URI::HTTP;
Quote Reply
Re: [Paul] GT::URI In reply to
or

GT::URI->get("...");

which should work as well. =) GT::WWW was added in 2.1.2, but not anything before that.

Cheers,

Alex
--
Gossamer Threads Inc.