Skip to content

Instantly share code, notes, and snippets.

@hesco
Created January 28, 2015 19:52
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 hesco/23193ea6c3fb49a7c6aa to your computer and use it in GitHub Desktop.
Save hesco/23193ea6c3fb49a7c6aa to your computer and use it in GitHub Desktop.
$result{'name'} = $self->parse_name( $dom->at( '#mn-member-general #mn-member-name-nologo' )->tree );
yields:
$VAR1 = {
'name' => [
'tag',
'div',
{
'id' => 'mn-member-name-nologo'
},
undef,
[
'text',
'Brunswick Business Journal',
$VAR1->{'name'}
]
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment