Created
April 26, 2016 13:14
-
-
Save zoffixznet/7fe6677c507998a9b76b589da9433ea4 to your computer and use it in GitHub Desktop.
This file contains 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 characters
use Mojo::DOM:from<Perl5>; | |
my $dom = Mojo::DOM.new: '<h1>Foo</h1>'; | |
$dom.find("h1").each({ say $_<id> }); | |
Too many positionals passed; expected 0 or 1 arguments but got 2 | |
in method invoke at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/2DDC3CA4D43E8307229B622394E5256F089707DD (Inline::Perl5) line 507 | |
in method invoke at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/2DDC3CA4D43E8307229B622394E5256F089707DD (Inline::Perl5) line 482 | |
in block at /home/zoffix/.rakudobrew/moar-nom/install/share/perl6/site/sources/2DDC3CA4D43E8307229B622394E5256F089707DD (Inline::Perl5) line 991 | |
in block <unit> at to-html.p6 line 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment