You don't do this within a your perl code, this runs from the command line.
In reply to Re^7: creating utility in perl by marto in thread creating utility in perl by Anonymous Monk