use strict; use warnings; if ( ! @ARGV ) { die "not enough arguments\n"; }