mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 23:01:30 +00:00
Set indent on print to file
This commit is contained in:
parent
b8c0b2c326
commit
c4d7fb8724
@ -331,7 +331,7 @@ sub check_xml_to_json_conversion {
|
|||||||
print $json->pretty->indent_length(5)->utf8->encode($result),"\n";
|
print $json->pretty->indent_length(5)->utf8->encode($result),"\n";
|
||||||
|
|
||||||
open(my $fh, '>', 'eqemu_config.json');
|
open(my $fh, '>', 'eqemu_config.json');
|
||||||
print $fh $json->pretty->utf8->encode($result);
|
print $fh $json->pretty->indent_length(5)->utf8->encode($result);
|
||||||
close $fh;
|
close $fh;
|
||||||
|
|
||||||
mkdir('backups');
|
mkdir('backups');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user