in reply to mozilla firefox plugin

For an alternative, see here.

Basically, once you have the bookmark set up, you can just hit F6 to jump to the URL field, and enter, e.g.,

cpan lwp::simple

(I have a keyboard-command bias, so this is my preference over choosing cpan from a pulldown menu.)