Permalink
Browse files

Merge pull request #2 from shyouhei/master

regexp bug fix
  • Loading branch information...
xaicron committed May 10, 2013
2 parents 54f95f8 + 125a458 commit 0b892aa103f6037db4f1ecc78f95bab08b83be4a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/App/envfile.pm
View
@@ -53,7 +53,7 @@ sub parse_envfile {
sub _try_any_config_file {
my ($self, $file) = @_;
- my ($ext) = $file =~ /\.(\w+)/;
+ my ($ext) = $file =~ /\.(\w+)$/;
if (my $type = $EXTENTIONS_MAP->{lc($ext || '')}) {
my $env;
if ($type eq 'Perl') {

0 comments on commit 0b892aa

Please sign in to comment.