[Bug 749167] cpanspec cannot allocate memory

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 26 14:11:42 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=749167

Jan Pazdziora <jpazdziora at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jpazdziora at redhat.com

--- Comment #2 from Jan Pazdziora <jpazdziora at redhat.com> 2011-10-26 10:11:40 EDT ---
(In reply to comment #1)
> The line reads:
> 
> > if (open(CHILD, "-|") == 0) {
> 
> What is it? The open is missing third argument. perldoc -f open says:
> 
> > For three or more arguments if MODE is '|-', the filename is
> > interpreted as a command to which output is to be piped, and if
> > MODE is '-|', the filename is interpreted as a command that
> > pipes output to us.  In the two-argument (and one-argument)
> > form, one should replace dash ('-') with the command.  See
> > "Using open() for IPC" in perlipc for more examples of this.

I cannot speak for this bugzilla as a whole but the open is not missing any
argument -- see man perlipc for what open(CHILD, "-|") means.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list