Revision 65b2387a
Von Moritz Bunkus vor mehr als 5 Jahren hinzugefügt
scripts/locales.pl | ||
---|---|---|
28 | 28 |
use List::MoreUtils qw(apply); |
29 | 29 |
use List::Util qw(first); |
30 | 30 |
use Pod::Usage; |
31 |
use YAML (); |
|
32 |
use YAML::Loader (); # YAML tries to load Y:L at runtime, but can't find it after we chdir'ed |
|
33 | 31 |
use SL::DBUpgrade2; |
34 | 32 |
use SL::System::Process; |
33 |
use SL::YAML; |
|
35 | 34 |
|
36 | 35 |
$OUTPUT_AUTOFLUSH = 1; |
37 | 36 |
|
... | ... | |
534 | 533 |
sub scanmenu { |
535 | 534 |
my $file = shift; |
536 | 535 |
|
537 |
my $menu = YAML::LoadFile($file); |
|
536 |
my $menu = SL::YAML::LoadFile($file);
|
|
538 | 537 |
|
539 | 538 |
for my $node (@$menu) { |
540 | 539 |
# possible for override files |
Auch abrufbar als: Unified diff
Module: gebundletes YAML durch dünnen Wrapper über YAML::XS & YAML ersetzt