can you explain me with an example to run perl script from python