public
Description: Make functions succeed or die in Perl, with lexical scope.
Homepage: http://search.cpan.org/perldoc?autodie
Clone URL: git://github.com/pfenwick/autodie.git
Click here to lend your support to: autodie and make a donation at www.pledgie.com !
autodie / TODO
100755 53 lines (32 sloc) 1.508 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
This is not an exhaustive list of TODO items.
 
* Write a bunch of tests for the exception API
 
* (More?) tests for user defined subs!
 
* Define roles properly.
 
* Trawl through perlfunc to find which things autodie may apply to.
 
* Generate a good way to allow subroutines to register themselves
  with roles and message handlers, possibly defining their own
  exception handler to use.
 
* Provide an autodie mixin which at least provides expected autodie
  behaviours, even if someone wants to use their own exception class.
 
* Provide a nicer way to override message handlers.
 
* Finalise the exception interface.
 
* Write a huge amount of documentation.
 
* Write a huge amount of tests.
 
* Test the many varied forms of sysopen.
 
* Test fcntl.
 
* !!! We need a proper way to override exceptions from system!
 
* Make sure that all the internal subroutines in Fatal continue to
  work using their old wacky interfaces.
 
* Test open(my $fh, '|-') || exec().
 
* Consider what happens when import is called at run-time!
  (Both in 5.10 and 5.8, but especially 5.8)
 
== Wishlist ==
 
* Reduce the number of lexical guards we need in our array.
  We should be able to combine these, or have a single guard
  that does the right thing.
 
* Think about padwalker integration. This can give us really
  pretty errors!
 
* Catch require/do and remove any autodying subs upon entry.
  At the end of file, replace them. This is a better solution
  to using leak-guards, which require more time and space at
  run-time.