in reply to backticks spits out error, but I want to handle errors! *shakes fist*
Check $? (perlvar). Something like:
foreach $spamuser (@users) { my $CUR_INBOX = "$MAIL_ROOT/$spamuser/cur"; @ham = `find $CUR_INBOX -type f 2>&1`; $? and die "@ham $!"; }
--
Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho
In Section
Seekers of Perl Wisdom