preferably perl and runs on unix...any suggestions?

can do uploading and automatic thumbnail...mabbe even click count...and template customising?