Skip to content

Instantly share code, notes, and snippets.

@rbuels
Created March 8, 2010 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rbuels/325783 to your computer and use it in GitHub Desktop.
Save rbuels/325783 to your computer and use it in GitHub Desktop.
my ($attr) = @$token[2];
next unless exists $attr->{rel};
chomp $attr->{rel};
my @rels = split ' ', $attr->{rel};
for my $rel (@rels) {
if( $rel && $rel eq "hub") {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment