… | |
… | |
24 | reload_perl & |
24 | reload_perl & |
25 | reload_sound & |
25 | reload_sound & |
26 | reload_config & |
26 | reload_config & |
27 | reload_regions & |
27 | reload_regions & |
28 | reload_facedata & |
28 | reload_facedata & |
|
|
29 | reload_exp_table & |
|
|
30 | reload_materials & |
29 | reload_treasures & |
31 | reload_treasures & |
30 | reload_archetypes & |
32 | reload_archetypes & |
31 | reload_resources & |
33 | reload_resources & |
32 | ext::help::reload & |
34 | ext::help::reload & |
33 | ext::books::reload & |
35 | ext::books::reload & |
… | |
… | |
63 | my $t2 = Time::HiRes::time; |
65 | my $t2 = Time::HiRes::time; |
64 | |
66 | |
65 | print "\n", |
67 | print "\n", |
66 | "command: '$cmd'\n", |
68 | "command: '$cmd'\n", |
67 | "execution time: ", $t2 - $t1, "\n"; |
69 | "execution time: ", $t2 - $t1, "\n"; |
68 | warn "evaluation error: $@" if $@; |
|
|
69 | print "evaluation error: $@\n" if $@; |
70 | print "evaluation error: $@\n" if $@; |
70 | print "result:\n", cf::dumpval @res > 1 ? \@res : $res[0] if @res; |
71 | print "result:\n", cf::dumpval @res > 1 ? \@res : $res[0] if @res; |
71 | print "\n> "; |
72 | print "\n> "; |
72 | |
73 | |
73 | select STDOUT; |
74 | select STDOUT; |
… | |
… | |
97 | if (my $listen = new IO::Socket::INET LocalAddr => $cf::CFG{perl_shell}, Listen => 1, ReuseAddr => 1, Blocking => 0) { |
98 | if (my $listen = new IO::Socket::INET LocalAddr => $cf::CFG{perl_shell}, Listen => 1, ReuseAddr => 1, Blocking => 0) { |
98 | $LISTENER = AE::io $listen, 0, sub { tcp_serve $listen->accept }; |
99 | $LISTENER = AE::io $listen, 0, sub { tcp_serve $listen->accept }; |
99 | } |
100 | } |
100 | } |
101 | } |
101 | |
102 | |
102 | |
|
|