Skip Menu |

This queue is for tickets about the IPC-Run CPAN distribution.

Report information
The Basics
Id: 11097
Status: resolved
Priority: 0/
Queue: IPC-Run

People
Owner: Nobody in particular
Requestors: RSOD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: Herculano de Lima Einloft Neto <hlen [...] ig.com.br>
From: Richard Soderberg <rsod [...] cpan.org>
Subject: Re: IPC::Run(3) misleading
Date: Wed, 19 Jan 2005 16:00:44 -0800
To: bug-IPC-Run [...] rt.cpan.org
I've patched documentation to say '<', 'in.txt' instead of 'in.txt', if I understood your comments correctly. Thanks! Look for this to be in the next CPAN release (0.80). - R. On Sep 4, 2004, at 6:59 AM, Herculano de Lima Einloft Neto wrote: Show quoted text
> Hello, > > At the start of IPC::Run's perldoc page, we have: > > `` > # Can do I/O to sub refs and filenames, too: > run \@cmd, "in.txt", \&out, \&err or die "cat: $?" > run \@cat, "in.txt", '>>', "out.txt", '2>>', "err.txt" ; > '' > > This code doesn't seem to work. Reading further down the documentation, > we have: > > `` > Redirecting from named files requires you to use the input redirection > operator: > > run \@cat, '<.profile' ; > run \@cat, '<', '.profile' ; > '' > > This seems to be the problem, the operator is not being used in the > headlines of the > doc, which are misleading. Using it seems to solve things. > > Cheers, > -- > Herculano de Lima Einloft Neto > <hlen@ig.com.br> > >