in reply to trying to read files in @ARGV but getting GLOB error! :(

"...open a bunch of files in ARGV and read them line by line ...split... two different filehandles..."

May be that i miss totally the point, but why don't you simply use Getopt::Long and then open the files and iterate over them the usual way?

See also Re: GetOpt Organization.

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help