in reply to Interesting behavior in eval block
my $str = "use $module"; $str .= 'qw(' . $args . ')' if $args ne '1'; [download]
I recommend a warn $@ if $@; after your eval.