aboutsummaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-06-20 17:58:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2014-06-20 18:07:02 +1200
commit4fa04bab6f33c26704e2e6d4d3cbc22f3a2971e9 (patch)
treee22bd3f13f83393a81f0c7c36e53c6fff9dd3b6c /README.markdown
parentSimplify required Perl version (diff)
downloadMail-Run-Crypt-4fa04bab6f33c26704e2e6d4d3cbc22f3a2971e9.tar.gz
Mail-Run-Crypt-4fa04bab6f33c26704e2e6d4d3cbc22f3a2971e9.zip
Use IPC::Run3 rather than IPC::Open3
IPC::Open3 is recommended by Perl::Critic, but it's a relatively low-level tool that requires system select() calls and careful attention to buffering/blocking, among other things. It looks like it's great if you need fine-tuned detail like that, but in this case, I don't, I just need something better than system() that will capture both stdout and stderr from a call. IPC::Run3 is by the same author and much better suited to this purpose.
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown7
1 files changed, 3 insertions, 4 deletions
diff --git a/README.markdown b/README.markdown
index 217d0c6..5ca520b 100644
--- a/README.markdown
+++ b/README.markdown
@@ -26,15 +26,14 @@ Put the `croncrypt` binary somewhere in your `crontab`’s `PATH`, and install
the following Perl modules:
* `Carp`
-* `IPC::Open3`
+* `IPC::Run3`
* `Mail::GnuPG`
* `MIME::Entity`
-* `Symbol`
On Debian-derived systems, this should do the trick:
- # aptitude install perl-base perl-modules \
- libmail-gnupg-perl libmime-tools-perl
+ # aptitude install perl-base perl-modules libmail-gnupg-perl \
+ libmime-tools-perl libipc-run3-perl
License
-------