Skip to content

Instantly share code, notes, and snippets.

@cjfields
Created March 9, 2011 19:41
Show Gist options
  • Select an option

  • Save cjfields/862829 to your computer and use it in GitHub Desktop.

Select an option

Save cjfields/862829 to your computer and use it in GitHub Desktop.
# grab a feature
if ($sf->has_tag('foo')) {
my @old = $sf->remove_tag('foo');
# modify or add new
$sf->add_tag_value('foo', $new);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment