Buggy smartmatch on tied array #13335
Comments
From @sankoThis is a bug report for perl from sanko@cpan.org, More tie() tinkering... I've found that the now experimental smartmatch use Tie::Array; Smartmatch correctly calls the FETCHSIZE method but the magic is ignored Original discussion on PerlMonks: http://perlmonks.org/?node_id=1057045 Flags: Site configuration information for perl 5.16.3: Configured by strawberry-perl at Tue Mar 12 13:56:09 2013. Summary of my perl5 (revision 5 version 16 subversion 3) configuration: Platform: Locally applied patches: @INC for perl 5.16.3: Environment for perl 5.16.3: |
From @cpansproutOn Sun Oct 06 08:50:23 2013, sanko wrote:
I probably broke that in v5.11.2-153-g69dc4b3. pp_match now assumes it -- Father Chrysostomos |
The RT System itself - Status changed from 'new' to 'open' |
From @LeontOn Sun, Oct 6, 2013 at 5:50 PM, Sanko Robinson <perlbug-followup@perl.org>wrote:
Smartmatch is generally quite sloppy with array magic. The only reason that Leon |
I think this ticket can be closed as: By design (for some versions of design)? |
Not really. I can't think of any reason for this not to DWIM. |
Migrated from rt.perl.org#120122 (status was 'open')
Searchable as RT120122$
The text was updated successfully, but these errors were encountered: