in reply to Re: Starting a New Script
in thread Starting a New Script

Without seeing more of the code it is hard to get a good answer. Based solely on the usage information, it sounds like you should consider moving the functions into modules or using existing modules from CPAN (because most if not all of that functionality is already available). Then you could either ditch the script or modify it so that it creates a script that uses the appropriate modules and only imports the functions requested.