http://qs321.pair.com?node_id=381295


in reply to using a subroutine

Perl is a great language, but sometimes the system utilities are a better tool, e.g. (untested):
find /lib -name 'core.*' -exec rm -f {} \;

Replies are listed 'Best First'.
Re^2: using a subroutine
by xjlittle (Beadle) on Aug 09, 2004 at 23:53 UTC
    You're absolutely right it would work. However I've been writing bash scripts for several years and this is not my goal-perl is. Thanks for taking the time to write!