projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5c19e80
)
Fixed binmode call in helper
Andy Grundman [Thu, 20 Oct 2005 20:40:10 +0000 (20:40 +0000)]
lib/Catalyst/Helper.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Helper.pm
b/lib/Catalyst/Helper.pm
index
64dad70
..
2ae3996
100644
(file)
--- a/
lib/Catalyst/Helper.pm
+++ b/
lib/Catalyst/Helper.pm
@@
-217,7
+217,7
@@
sub mk_file {
$file .= '.new';
}
if ( my $f = IO::File->new("> $file") ) {
- $f->binmode;
+ binmode $f;
print $f $content;
print qq/created "$file"\n/;
return 1;