Skip to content

Instantly share code, notes, and snippets.

@cjfields
Created March 9, 2011 19:41
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 cjfields/862829 to your computer and use it in GitHub Desktop.
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