Skip to content

Commit

Permalink
fix typo in example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 7, 2017
1 parent 2a1b890 commit a60872d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/File.pm
Expand Up @@ -147,7 +147,7 @@ working directory.
Construct a new scalar-based L<Mojo::File> object with L<File::Temp>.
# Longer version
my $path = Mojo::File->new(File::Temp->new('tempXXXXX'));
my $path = Mojo::File->new(File::Temp->newdir('tempXXXXX'));
=head1 METHODS
Expand Down

0 comments on commit a60872d

Please sign in to comment.