Hmm... try adding the line:
- Code: Select all
__END__
after all the rest of the addon code. And change it so that, instead of having:
- Code: Select all
#! NAME My Script Link
and
- Code: Select all
my $addon = new Addon('Image manager');
both names match. (Change the name to "Image manager", or change "new Addon('Image manager')" to "new Addon('My Script Link')" I am not sure if it is required for addons for both names to match or if this is just convention (I guess we'll see).
Update: I'm guessing the above isn't your problem though- I tested the addon on my install and it works fine. What's the filename of your addon (should follow format "cra_addonnname.pl" and be in the directory with all the other addons you're using)? It could also be a problem with cutting-and-pasting from the forum, could have added a linebreak somewhere where it shouldn't be. So try downloading the addon directly from
here.