Skip Menu |

This queue is for tickets about the PerlX-MethodCallWithBlock CPAN distribution.

Report information
The Basics
Id: 75438
Status: new
Priority: 0/
Queue: PerlX-MethodCallWithBlock

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

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



Subject: within the block itself, MethodCallWithBlock does not work
This works: use 5.010; use strict; use Web::Magic -quotelike => 'web'; use PerlX::MethodCallWithBlock; my $u = web <http://www.perlmonks.org/> -> assert_success -> make_absolute_urls -> tap { $_->findnodes('~links')->foreach(sub { say $_->{href} }) }; This does not work: use 5.010; use strict; use Web::Magic -quotelike => 'web'; use PerlX::MethodCallWithBlock; my $u = web <http://www.perlmonks.org/> -> assert_success -> make_absolute_urls -> tap { $_->findnodes('~links')->foreach { say $_->{href} } };