Skip to content

Instantly share code, notes, and snippets.

@gslin
Created October 30, 2010 12:59
Show Gist options
  • Save gslin/655274 to your computer and use it in GitHub Desktop.
Save gslin/655274 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use 5.010;
use pQuery;
my $htmlRaw = '<a href="http://www.perl.org/">test</a>';
my $html = pQuery($htmlRaw);
say $html->find('a')->toHtml;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment