Debian Codegraph @

HACKING

raw
1 HACKING Test::Pod::Content
2 --------------------------
3
4 VCS
5 ---
6
7 Test::Pod::Content uses a Subversion repository at
8
9 http://svn.hyper-framework.org/Hyper/Test-Pod-Content/
10
11 Developer (commit) SVN access is restricted, but you may use the SVN version
12 for generating patches.
13
14 Patches should be generated as unified diff (svn can do this for you - try
15 svn help diff or just say 'svn diff --old .' in your Test::Pod::Content
16 working dir. You'll have to say 'svn add FILENAME' for new files before,
17 and 'svn revert FILENAME' afterwards).
18
19 CODING STYLE
20 ------------
21
22 Test modules require a high quality coding style, so Test::Pod::Content does
23 it's best to comply to the style laid out in Perl Best Practices by Damian
24 Conway.
25
26 As always, there's a few exceptions:
27
28 * The use of $@ is allowed for simplicity
29 "use English" can induce subtle misbehaviours, and $@ really is a well-known
30 variable.
31
32 * The use of "die" is allowed, because Test::Pod::Content never dies to
33 signal errors, but only to (reliably) terminate a Pod Parser run.
34 It's pretty useless to croak on an exception that get's caught anyway.
35 There are some die statements which might not get caught, but these are just
36 re-throwing previously-throwed exceptions.
37
38 The exceptions are configured in t/perlcriticrc.
39
40 The module may be criticised via
41
42 perlcritic -profile t/perlcriticrc lib
43
44 December 2007
45
46 Martin Kutter