Skip Menu |

This queue is for tickets about the Module-Mask-Deps CPAN distribution.

Report information
The Basics
Id: 121253
Status: new
Priority: 0/
Queue: Module-Mask-Deps

People
Owner: Nobody in particular
Requestors: user42_kevin [...] yahoo.com.au
Cc:
AdminCc:

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



Subject: warning on prereqs without "requires"
Date: Thu, 20 Apr 2017 12:37:41 +1000
To: bug-Module-Mask-Deps [...] rt.cpan.org
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
With Module::Mask::Deps 0.07 and recent debian perl 24.1, if a meta thingie has a prereqs phase without "requires" (only say "suggests") then Module::Mask::Deps prints a warning Can't use an undefined value as a HASH reference at /usr/share/perl5/Module/Mask/Deps.pm line 302 Eg from Makefile.PL like META_MERGE => { 'meta-spec' => { version => 2 }, prereqs => { test => { suggests => { 'threads' => 0, }, }, }, ... In _meta_reqs() I got some joy from simply $_->{requires} || {}