Skip to content

Commit

Permalink
it is not just Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 17, 2014
1 parent 5ef9686 commit fdfe08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Loader.pm
Expand Up @@ -55,7 +55,7 @@ sub _all {
seek $handle, 0, 0;
my $data = join '', <$handle>;

# Ignore everything before __DATA__ (Windows will seek to start of file)
# Ignore everything before __DATA__ (some versions seek to start of file)
$data =~ s/^.*\n__DATA__\r?\n/\n/s;

# Ignore everything after __END__
Expand Down

0 comments on commit fdfe08a

Please sign in to comment.