Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Gossamer Threads Inc.
:
Discussion
:
GT::URI
Previous Thread
Next Thread
Print Thread
View Threaded
Mar 27, 2003, 4:55 AM
Paul
Veteran
(19537 posts)
Mar 27, 2003, 4:55 AM
Post #1 of 4
Views: 4165
Shortcut
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"; );
Mar 27, 2003, 12:51 PM
Alex
Administrator
(9387 posts)
Mar 27, 2003, 12:51 PM
Post #2 of 4
Views: 4055
Shortcut
Re: [Paul] GT::URI
In reply to
Typo! But GT::URI is depreciated, use GT::WWW instead. =)
Cheers,
Alex
--
Gossamer Threads
Inc.
Mar 27, 2003, 1:44 PM
Paul
Veteran
(19537 posts)
Mar 27, 2003, 1:44 PM
Post #3 of 4
Views: 4067
Shortcut
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;
Mar 27, 2003, 1:49 PM
Alex
Administrator
(9387 posts)
Mar 27, 2003, 1:49 PM
Post #4 of 4
Views: 4027
Shortcut
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.
Previous Thread
Next Thread
Print Thread
View Threaded