1Text::Diff::Config(3) User Contributed Perl DocumentationText::Diff::Config(3)
2
3
4
6 Text::Diff::Config - global configuration for Text::Diff (as a separate
7 module).
8
10 use Text::Diff::Config;
11
12 $Text::Diff::Config::Output_Unicode = 1;
13
15 This module configures Text::Diff and its related modules. Currently it
16 contains only one global variable $Text::Diff::Config::Output_Unicode
17 which is a boolean flag, that if set outputs unicode characters as
18 themselves without escaping them as " \x{HHHH} " first.
19
20 It is initialized to the value of $ENV{DIFF_OUTPUT_UNICODE} , but can
21 be set to a different value at run-time, including using local.
22
24 Shlomi Fish, <http://www.shlomifish.org/> .
25
27 Copyright 2010, Shlomi Fish.
28
29 This file is licensed under the MIT/X11 License:
30 <http://www.opensource.org/licenses/mit-license.php>.
31
32 Permission is hereby granted, free of charge, to any person obtaining a
33 copy of this software and associated documentation files (the
34 "Software"), to deal in the Software without restriction, including
35 without limitation the rights to use, copy, modify, merge, publish,
36 distribute, sublicense, and/or sell copies of the Software, and to
37 permit persons to whom the Software is furnished to do so, subject to
38 the following conditions:
39
40 The above copyright notice and this permission notice shall be included
41 in all copies or substantial portions of the Software.
42
43 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
44 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
45 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
46 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
47 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
48 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
49 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
50
52 Text::Diff::Config - global configuration for Text::Diff (as a separate
53 module).
54
56 use Text::Diff::Config;
57
58 $Text::Diff::Config::Output_Unicode = 1;
59
61 This module configures Text::Diff and its related modules. Currently it
62 contains only one global variable $Text::Diff::Config::Output_Unicode
63 which is a boolean flag, that if set outputs unicode characters as
64 themselves without escaping them as " \x{HHHH} " first.
65
66 It is initialized to the value of $ENV{DIFF_OUTPUT_UNICODE} , but can
67 be set to a different value at run-time, including using local.
68
70 Shlomi Fish, <http://www.shlomifish.org/> .
71
73 Copyright 2010, Shlomi Fish.
74
75 This file is licensed under the MIT/X11 License:
76 <http://www.opensource.org/licenses/mit-license.php>.
77
78 Permission is hereby granted, free of charge, to any person obtaining a
79 copy of this software and associated documentation files (the
80 "Software"), to deal in the Software without restriction, including
81 without limitation the rights to use, copy, modify, merge, publish,
82 distribute, sublicense, and/or sell copies of the Software, and to
83 permit persons to whom the Software is furnished to do so, subject to
84 the following conditions:
85
86 The above copyright notice and this permission notice shall be included
87 in all copies or substantial portions of the Software.
88
89 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
90 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
91 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
92 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
93 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
94 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
95 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
96
97
98
99perl v5.32.1 2021-01-27 Text::Diff::Config(3)