in reply to How to make .pl scripts executing once double-clicked in MacOSX Finder?
There are various third party applications like DropScript that do this.