#use default directory if argument not set on command line find(\&fileop, @ARGV ? @ARGV : $opts{'directory'});