Skip to content

Commit

Permalink
Give tempfiles a .pm suffix for syntax highlighting under -l
Browse files Browse the repository at this point in the history
  • Loading branch information
sartak committed Jun 14, 2011
1 parent e93c9fa commit 9576dab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Pod/Cpandoc.pm
Expand Up @@ -42,6 +42,7 @@ sub scrape_documentation_for {
$module =~ s/::/-/g;
my ($fh, $fn) = tempfile(
"${module}-XXXX",
SUFFIX => ".pm",
UNLINK => $self->unlink_tempfiles,
TMPDIR => 1,
);
Expand Down

0 comments on commit 9576dab

Please sign in to comment.