...but have no idea how to begin to use it.
In case of doubt, start with looking at the synopsis in the module's docs,
and - to begin to play around with it - cut-n-paste appropriate parts of it into where you want to edit your new script.
Then, read a bit further down in the docs to find methods that might
help with creating/writing tags, which is what you want to do.
Having found the method new_tag(), grep the examples directory
that comes with the tarball
for snippets that might help clarify the usage of the method. This
finds tagged.pl and tagit.pl as candidates to take a closer look at...
Once you can write sample tags with content like "foo", "bar" etc.,
approach the next step, i.e. look into how to get the appropriate info
out of the filename... Hope you get the idea :)
And, of course, in case you should get stuck, feel free to post the code you have so far...
|