I know this can be near impossible to solve (with regexps) in the Perl case, since there is no need and many people not use parenthesis after the name of the function.
LOL. And Ruby, and Python, and Applescript... :)
Please strike Python from that list .. no need to spread disinformation ;-)
-steve