Created
August 10, 2009 11:14
Revisions
-
pdcawley created this gist
Aug 10, 2009 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ #!/usr/bin/perl use feature ':5.10'; use MooseX::Declare; class Foo { method _test { 1 } method bar ( $f where { _test(')}') } ) { $f } } say Foo->new->bar('22'); # Blows up with: # Runaway '{}' in parameter near '{ _test(')}')' at /usr/local/share/perl/5.10.0/MooseX/Method/Signatures/Meta/Method.pm line 160