in reply to Running local Perl from HTML

Are you running windows? If so you might want to have a look at clipcommand.pl.