No need to make it so difficult, if that's all you want to do.

system('find /backup -mtime +30');

In reply to Re: (1) line of sh vs (~20) lines of perl ? by perrin
in thread (1) line of sh vs (~20) lines of perl ? by mandog

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":