Skip Menu |

This queue is for tickets about the Term-Prompt CPAN distribution.

Report information
The Basics
Id: 63355
Status: new
Priority: 0/
Queue: Term-Prompt

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

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



Subject: Prototype for Term::Prompt::prompt breaks sensible use case
The following code http://sprunge.us/ejOL?pl generates the error "Not enough arguments for Term::Prompt::prompt at setup.pl line 24, near "$prompt)"". ocharles in #perl on irc.freenode.net believes this is due to the prototype. In order to iterate over a list of prompts, one is therefore forced to deconstruct each array into scalars. That should /not/ be necessary.