ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/dm-support.ext
(Generate patch)

Comparing deliantra/server/ext/dm-support.ext (file contents):
Revision 1.5 by root, Wed Apr 18 14:24:09 2007 UTC vs.
Revision 1.9 by root, Thu Sep 13 08:35:24 2007 UTC

22You can freely use \$a .. \$z and \@l and \%l 22You can freely use \$a .. \$z and \@l and \%l
23 23
24Useful commands (note the '&'): 24Useful commands (note the '&'):
25 25
26reload_perl & 26reload_perl &
27reload_config &
27reload_regions & 28reload_regions &
28reload_facedata & 29reload_facedata &
29reload_treasures & 30reload_treasures &
30reload_archetypes & 31reload_archetypes &
32ext::help::reload &
33ext::books::reload &
34ext::map_tags::reload &
31ext::map_world::reload & 35ext::map_world::reload &
32EOF 36EOF
33 print "\n> "; 37 print "\n> ";
34 38
35 Event->io (fd => $fh, poll => 'r', data => 0, cb => sub { 39 Event->io (fd => $fh, poll => 'r', data => 0, cb => sub {
58 print "result:\n", cf::dumpval @res > 1 ? \@res : $res[0] if @res; 62 print "result:\n", cf::dumpval @res > 1 ? \@res : $res[0] if @res;
59 print "\n> "; 63 print "\n> ";
60 }; 64 };
61 65
62 if ($cmd =~ s/\s*&$//) { 66 if ($cmd =~ s/\s*&$//) {
63 Coro::async_pool { $sub->() }; 67 Coro::async { $sub->() };
64 } else { 68 } else {
65 $sub->(); 69 $sub->();
66 } 70 }
67 } 71 }
68 72

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines