Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 21153
Status: resolved
Priority: 0/
Queue: Perl-Critic

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

Bug Information
Severity: Normal
Broken in:
  • 0.17
  • 0.19
Fixed in: (no value)



Subject: Does not understand bless($obj, $class).
Line such as this: $data{"attachment_$index"} = bless([ $files->[$i] ], "Attachment"); produces this error: One-argument "bless" used at line 346, column 42. See page 365 of PBP. (Severity: 5) - Dmitri.
On Wed Aug 23 17:50:11 2006, DMITRI wrote: Show quoted text
> Line such as this: > > $data{"attachment_$index"} = bless([ $files->[$i] ], "Attachment"); > > produces this error: > > One-argument "bless" used at line 346, column 42. See page 365 of > PBP. (Severity: 5) > > - Dmitri.
This requires a fix to PPI, which is in progress. Hopefully, this will be resolved when PPI v1.200 comes out. -- Chris
From: ted [...] tedcarnahan.com
On Thu Oct 05 14:57:11 2006, CDOLAN wrote: Show quoted text
> This requires a fix to PPI, which is in progress. Hopefully, this will > be resolved when PPI v1.200 comes out. > -- Chris
The latest dev. release, PPI-1.199_02, fixes this bug for me. - Ted Carnahan
Awesome, thanks for the report, Ted.