in reply to HTML::LinkExtor weirdness
Off the top of my head :)
It should work the way you expect if you change to
my $callback = sub { ... }; HTML::LinkExtor->new($callback);
FWIW, you probably got some warnings about this (will not stay shared)
Re: Entry Edit Refresh (nested subs and closures)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTML::LinkExtor weirdness (scoping closures nested named subs)
by skazat (Chaplain) on Nov 06, 2013 at 22:33 UTC | |
by ig (Vicar) on Nov 06, 2013 at 23:41 UTC | |
by Anonymous Monk on Nov 07, 2013 at 00:27 UTC | |
by Anonymous Monk on Nov 06, 2013 at 23:34 UTC |