http://qs321.pair.com?node_id=38608


in reply to using 'my $var' vs. 'my($var)'

@_ is evaluated in a scalar context in the first example. So, you're getting the number of entries in @_ in $conf_file instead of the actual parameter that you passed in.