Selenium is a Web UI Automation test tool,used to simulate the human being to click,input,select in the web UI.
The Selenium IDE,released as Firxfox plugin, can record your actions in the ui and replay them, so that you can repeat your test effectively.However, it can not execute the control flow,such as if,else,for,while.It can only execute the linear actions. So, if you want to add flow control to your test cases, you must use seleinum command in a specified language driver. Generally, that is using Java,Perl,C# and so on, to write the test case with the help of selenium( seleinum office web site ).
You can find the selenuim perl module here to config your local perl driver.
Adding perl module, the always problem is module dependencies. When you config the driver, you need to the following modules Test::LWP, Test::MockObject,UNIVERSAL::can and UNIVERSAL::isa.So, you should download them one by one and install them all to your PC.What's more, you should install gcc and dmake,setting your environment path including them.
When you see MAKEFILE file in the module, you can use command "dmake" ,"dmake install" to install your perl module.And "dmake test" can check your environment. README file always tell you how to install your perl module.
OK, that is all.
Enjoy it :)