Link/Change.pm untested

filter: Statementstmt 0.0% 0 / 2 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 2 SCAR -
1 package WWW::Link::Change;
2 $REVISION=q$Revision: 1.4 $ ; $VERSION = sprintf ( "%d.%02d", $REVISION =~ /(\d+).(\d+)/ );
3  
4 =head1 NAME
5  
6 WWW::Link::Change - convert messages for link changes
7  
8 =head1 SYNOPSIS
9  
10 B<Not yet implemented>
11  
12 =head1 DESCRIPTION
13  
14 Many things can happen to resources at the other end of Links. This
15 class provides a way for the owners of resources to send messages to
16 people who reference those resources.
17  
18 =head1 POSSIBLE CHANGES
19  
20 =over 4
21  
22 =item updated
23  
24 the resource is essentially the same but has been updated in some
25 major unspecified way which a person referencing it might want to
26 examine.
27  
28 =item deleted
29  
30 the resource no longer exists and no replacement is known or
31 suggested.
32  
33 =item outdated
34  
35 The resource is now considered outdated and references to it should be
36 changed to something else. This nothing about whether it has been
37 deleted as old resources are often kept for historical reasons.
38  
39 =item split
40  
41 A resourece has been split into parts which are logically separate.
42 Some references to that resource will want to go one new location and
43 some to another.
44  
45 =cut
46  
47 =head1 METHODS
48  
49 =head2 new ($message) ($link, newstatus, options)
50  
51 A WWW::Link::Change can be constructed from either a message from another
52 entity or from the information needed for that change.
53  
54 =head2 as_message
55  
56 This outputs a string which can be sent and used to construct an
57 equivalent WWW::Link::Change in another place. The message is designed so
58 that it could be used by other languages or even a human.
59  
60 =cut