[libio-all-perl] 05/14: Add a file listing some API expectations.

Axel Beckert abe at deuxchevaux.org
Sun Apr 26 22:25:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to tag alt-io-all-new-0.00
in repository libio-all-perl.

commit 9c3e40a44c19115ab99071dc79f701a293ba705e
Author: Chris Nehren <apeiron at cpan.org>
Date:   Mon Jul 16 03:14:46 2012 -0400

    Add a file listing some API expectations.
    
    Could use some expansion, and is very much an RFC by nature.
---
 expectations | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/expectations b/expectations
new file mode 100644
index 0000000..82047b6
--- /dev/null
+++ b/expectations
@@ -0,0 +1,14 @@
+# foo doesn't exist
+io('foo')->append # throws exception
+
+# foo does exist
+io('foo')->create # throws exception
+
+# maybe require ->strict for those two:
+
+# foo doesn't exist
+io('foo')->strict->append # definitely dies
+
+# foo does exist
+io('foo')->strict->create # definitely dies
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libio-all-perl.git



More information about the Pkg-perl-cvs-commits mailing list