summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm20
1 files changed, 17 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 1c33a0d04ef..b038abecf28 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -3602,7 +3602,7 @@ sub process_logging_options {
=head2 Miscellaneous
-Some ideas from Fabrice Popineau's C<FileUtils.pm>.
+A few ideas from Fabrice Popineau's C<FileUtils.pm>.
=over 4
@@ -4470,7 +4470,7 @@ sub setup_sys_user_mode {
print STDERR "" .
"$prg [ERROR]: Either -sys or -user mode is required.\n" .
"$prg [ERROR]: In nearly all cases you should use $prg -sys.\n" .
- "$prg [ERROR]: For special cases see http://tug.org/texlive/scripts-sys-user.html\n" ;
+ "$prg [ERROR]: For special cases see https://tug.org/texlive/scripts-sys-user.html\n" ;
exit(1);
}
return ($texmfconfig, $texmfvar);
@@ -4540,6 +4540,12 @@ sub repository_to_array {
}
+=back
+
+=head2 JSON
+
+=over 4
+
=item C<encode_json($ref)>
Returns the JSON representation of the object C<$ref> is pointing at.
@@ -4562,7 +4568,10 @@ bless $TLFalse, 'TLBOOLEAN';
our $jsonmode = "";
+=pod
+
=item C<True()>
+
=item C<False()>
These two crazy functions must be used to get proper JSON C<true> and
@@ -4710,8 +4719,13 @@ sub array_to_json {
my $ret = "[" . join(",", map { encode_json(\$_) } @$hr) . "]";
return($ret);
}
+
+=pod
+
=back
+
=cut
+
1;
__END__
@@ -4724,7 +4738,7 @@ C<tl-update-tlpdb>), the documentation in C<Master/tlpkg/doc/>, etc.
=head1 AUTHORS AND COPYRIGHT
This script and its documentation were written for the TeX Live
-distribution (L<http://tug.org/texlive>) and both are licensed under the
+distribution (L<https://tug.org/texlive>) and both are licensed under the
GNU General Public License Version 2 or later.
=cut