OT: perl function call from a bash script.