Subject: | _slurp - strange when using append file handle? |
Date: | Tue, 20 Dec 2011 12:28:35 +0100 |
To: | bug-Capture-Tiny [...] rt.cpan.org |
From: | Philipp Herz - Profihost AG <p.herz [...] profihost.ag> |
Hi David,
i just tried using Capture::Tiny with two IO::File handles for capturing
STDOUT and STDERR in append mode ("a+").
Since i require to investigate (compare) some of the system command's
output, i noticed that not only the command's output itself is on OUT
handle but the whole content of my logfile, which is obviously not good
for comparison.
It seems to me, that "_slurp" should better seek for the EOF first.
--
Mit freundlichen Grüßen
Philipp Herz
Ihr Profihost Team
-------------------------------
Profihost AG
Am Mittelfelde 29
30519 Hannover
Deutschland
Tel.: +49 (511) 5151 8000 | Fax.: +49 (511) 5151 8299
URL: www.profihost.com | E-Mail: info@profihost.com
Sitz der Gesellschaft: Hannover, USt-IdNr. DE813460827
Registergericht: Amtsgericht Hannover, Register-Nr.: HRB 202350
Vorstand: Cristoph Bluhm, Sebastian Bluhm, Stefan Priebe
Aufsichtsrat: Prof. Dr. iur. Winfried Huck (Vorsitzender)