Skip Menu |

This queue is for tickets about the App-CmdDispatch CPAN distribution.

Report information
The Basics
Id: 132309
Status: resolved
Worked: 10 min
Priority: 0/
Queue: App-CmdDispatch

People
Owner: cpan.wade [...] anomaly.org
Requestors: dmuey [...] cpan.org
Cc:
AdminCc:

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



Subject: App::CmdDispatch::MinimalIO->new() returns an object blessed into the package 1
``` # pkit -MApp::CmdDispatch::IO -e 'd(App::CmdDispatch::MinimalIO->new())' debug() ref(1=HASH(0xc444f0)) at -e line 1: bless( {}, '1' ) ``` Fix is simple: Around line 41/42 of App/CmdDispatch/IO.pm it just needs unpacked correctly: ``` - my $class = @_; + my ($class) = @_; ```
Nice catch. Code is updated, and I'm waiting for PAUSE to index version 0.44. On Tue Apr 07 11:38:50 2020, DMUEY wrote: Show quoted text
> ``` > # pkit -MApp::CmdDispatch::IO -e 'd(App::CmdDispatch::MinimalIO->new())' > debug() ref(1=HASH(0xc444f0)) at -e line 1: > bless( {}, '1' ) > ``` > > Fix is simple: > > Around line 41/42 of App/CmdDispatch/IO.pm it just needs unpacked correctly: > > > ``` > - my $class = @_; > + my ($class) = @_; > ```
Fix applied.
On Wed Apr 08 08:12:34 2020, GWADEJ wrote: Show quoted text
> Fix applied.
thanks Wade :)