Question
How can I get a PHP or Perl script of my choosing to execute upon cPanel account creation?
Answer
This would require a postacct hook to work.
Account::Create::Post
For more information on setting up standardized hooks, please see the following documentation.