Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 30681
Status: new
Priority: 0/
Queue: CPAN

Owner: Nobody in particular
Requestors: imacat [...]

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

Subject: Disabling CPAN::Shell Messages ($CPAN::Be_Slient?)
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1087
Dear Andreas J. König, Hi. This is imacat from Taiwan. I wish there could be a way to disable the following message: CPAN: Storable loaded ok (v2.16) Going to read /root/.cpan/Metadata Database was generated on Wed, 07 Nov 2007 03:36:46 GMT I am writing a periodical module update checker and reporter for my own installation, which generates a customized report. This above message is always sent to the cron daemon even if everything is up-to-date, and generates a lots of cron job message mails. I wonder if there is a way to avoid that. Peeping into the code I found that in CPAN::Shell::print_ornamented() there is a variable $CPAN::Be_Silent that can disable the output. However, $CPAN::Be_Silent does not look like a public variable, and I cannot find any public way to manipulate it. I wonder if there could be a way to manipulate $CPAN::Be_Silent or so forth so that users of CPAN can disable the CPAN::Shell messages. It would help a lot if this can be done. Please tell me if you need any more information, or if I could be of help. Thank you.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to