From: Karen Etheridge Date: Fri, 8 Feb 2013 00:15:43 +0000 (-0800) Subject: remove useless temp variable X-Git-Tag: v0.54~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=commitdiff_plain;h=01788da45abc739c01d9c2a113c6101a60ae1da7 remove useless temp variable --- diff --git a/t/008_configfromfile.t b/t/008_configfromfile.t index e228d35..3e8dc4c 100644 --- a/t/008_configfromfile.t +++ b/t/008_configfromfile.t @@ -47,8 +47,7 @@ use Test::NoWarnings 1.04 ':early'; optional_from_config => 'from_config_2', ); - my $cpath = Path::Tiny::path('/notused/default'); - if ( $file ne $cpath ) { + if ( $file ne Path::Tiny::path('/notused/default') ) { $config{config_from_override} = 1; }