Please could you give detailed steps how to run perl scripts using .xml ?

Please could you give detailed steps how to run perl scripts using .xml ?