Debian Codegraph @

tests/eval_merge

raw
1 #!/usr/bin/perl
2
3 # Copyright 2014-2026, Paul Johnson ([email protected])
4
5 # This software is free. It is licensed under the same terms as Perl itself.
6
7 # The latest version of this software should be available from my homepage:
8 # https://pjcj.net
9
10 use lib "tests";
11
12 $x = shift || 0;
13 print "1 - $x\n";
14 if (!$x) {
15 eval "use E2"; eval "use E3";
16 E2::E2(); E3::E3();
17 } else {
18 eval "use E3"; eval "use E4";
19 E3::E3(); E4::E4();
20 }
21 print "2 - $x\n";