Skip Menu |

This queue is for tickets about the Throwable-Factory CPAN distribution.

Report information
The Basics
Id: 104773
Status: new
Priority: 0/
Queue: Throwable-Factory

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

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



Subject: documentation bug re: fat comma
From the docs: ---------------------------------------------------------- catch_case [ +ErrTooBig => sub { warn "Too big!" }, +ErrTooSmall => sub { warn "Too small!" }, "Throwable::Taxonomy::NotImplemented" => sub { warn $_ }, ]; (Note the plus signs in the catch_case above; this ensures ErrTooBig and ErrToString are not auto-quoted by the fat comma.) ---------------------------------------------------------- This is wrong. If you want to prevent autoquoting, you have to put tokens between the bareword and =>, for example: ErrTooBig() => ... (ErrTooBig) => ... ErrTooBig ,=> ... do { ErrTooBig } => ...