Skip to content

Instantly share code, notes, and snippets.

@rpcme
Created April 22, 2015 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpcme/2e621ee64202da7b587c to your computer and use it in GitHub Desktop.
Save rpcme/2e621ee64202da7b587c to your computer and use it in GitHub Desktop.
use Mojo::Base -base;
use Mojo::DOM;
use Data::Dumper;
my $dom = Mojo::DOM->new;
$dom = $dom->append('<span>wtf?</span>');
print Dumper $dom;
say $dom->to_string;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment