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 {} \;
[download]
Comment on
Re: using a subroutine
Download
Code
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!
[reply]
In Section
Seekers of Perl Wisdom