in reply to @ARGV while (<>) hangs

use code tags to display your code - it will make your thread much easier to mentally absorb :)