Skip Menu |

This queue is for tickets about the ex-constant-vars CPAN distribution.

Report information
The Basics
Id: 73658
Status: resolved
Priority: 0/
Queue: ex-constant-vars

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

Bug Information
Severity: Normal
Broken in: 0.01
Fixed in: 0.02



Subject: warning about prototypes
Using the module results in the following warnings: Prototype after '@' for ex::constant::vars::ARRAY : \@@; at ...path.../ex/constant/vars.pm line 32. Prototype after '%' for ex::constant::vars::HASH : \%%; at ...path.../ex/constant/vars.pm line 33. These are referring to the following: sub ARRAY (\@@;) { 'array', @_ } sub HASH (\%%;) { 'hash', @_ } It's the semi-colons that are causing the warning, so you just need to delete them. I also deleted them from the previous line: sub SCALAR (\$$;) { 'scalar', @_ } This is fixed in my copy of the module on github: https://github.com/neilbowers/ex-constant-vars