In Func.pm the my line for readAttachment shows as:
sub readAttachment {
my( $meta, $name ) =
@_;
The example in the pod for the function also shows the use of $meta.
$meta and $name are not used.
@_ is passed into the Store.pm readAttachment which requires $web, $topic, $name and $rev.
The top of the pod documentation matches the actual call required.
While there is a work around - I found this very confusing writing my first plugin and was told the work around by a twiki core developer who was handily sitting next to me on the sofa at the time.
Thanks Pam. Doc fixed.
CC