in reply to Shell script with PERL
That's quite a vague question. Perhaps you're looking for the system function.