Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 63443
Status: resolved
Priority: 0/
Queue: CPAN

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

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



Subject: force install inconsistency between interactive and non-interactive invocation
Attempt to reinstall a package stops on package is up to date: # perl -MCPAN -e 'force install "Scalar::Util"' CPAN: Storable loaded ok (v2.20) Going to read '/root/.cpan/Metadata' Database was generated on Mon, 29 Nov 2010 12:30:09 GMT Scalar::Util is up to date (1.23). However running the same command from interactive CPAN shell works: # perl -MCPAN -e 'shell' cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. cpan[1]> force install "Scalar::Util" CPAN: Storable loaded ok (v2.20) Going to read '/root/.cpan/Metadata' Database was generated on Mon, 29 Nov 2010 12:30:09 GMT Running install for module 'Scalar::Util' [...] make install -- OK Is this discrepancy intentional?
Subject: Re: [rt.cpan.org #63443] force install inconsistency between interactive and non-interactive invocation
Date: Mon, 29 Nov 2010 21:23:38 +0100
To: bug-CPAN [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Mon, 29 Nov 2010 10:57:58 -0500, "Petr Pisar via RT" <bug-CPAN@rt.cpan.org> said:
Show quoted text
> # perl -MCPAN -e 'force install "Scalar::Util"'
What you write here is force(install('Scalar::Util')) What you want is force("install", "Scalar::Util") Show quoted text
> Is this discrepancy intentional?
No, I just don't know how to write a CPAN::DWIM::shell:) -- andreas
Subject: Re: [rt.cpan.org #63443] force install inconsistency between interactive and non-interactive invocation
Date: Tue, 30 Nov 2010 10:10:44 +0100
To: "(Andreas J. Koenig) via RT" <bug-CPAN [...] rt.cpan.org>
From: Petr Pisar <ppisar [...] redhat.com>
Thanks for explanation. Feel free to close this report. -- Petr