in reply to Testing <> for undefined
if (@ARGV) { # you have command line args } else { # ya don't! } [download]
-- Randal L. Schwartz, Perl hacker Be sure to read my standard disclaimer if this is a reply.