Debian Codegraph @

README

raw
1 NAME
2 URI::Title - get the titles of things on the web in a sensible way
3
4 DESCRIPTION
5
6 I keep having to find the title of things on the web. This seems like a
7 really simple request, just get() the object, parse for a title tag,
8 you're done. Ha, I wish. There are several problems with this approach:
9
10 What if the resource is on a very slow server? Do we wait for ever or what?
11 What if the resource is a 900 gig file? You don't want to download that.
12 What if the page title isn't in a title tag, but is buried in the HTML somewhere?
13 What if the resource is an MP3 file, or a word document or something?
14 ...
15
16 So, let's solve these issues once.
17
18 METHODS
19 only one, the title(url) method. Call it with an url, get the title if
20 possible, undef if it wasn't. Very simple.
21
22 AUTHORS
23 Tom Insam <[email protected]>, original author, 2004-2012.
24
25 Philippe Bruhat (BooK) <[email protected]>, maintainer, 2014.
26
27 LICENSE
28 This program is free software; you can redistribute it and/or modify it
29 under the same terms as Perl itself.