ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent.pm (file contents):
Revision 1.373 by root, Thu Aug 25 03:08:48 2011 UTC vs.
Revision 1.374 by root, Thu Aug 25 03:35:52 2011 UTC

2080If this env variable is set, then its contents will be interpreted by 2080If this env variable is set, then its contents will be interpreted by
2081C<AnyEvent::Socket::parse_hostport> (after replacing every occurance of 2081C<AnyEvent::Socket::parse_hostport> (after replacing every occurance of
2082C<$$> by the process pid) and an C<AnyEvent::Debug::shell> is bound on 2082C<$$> by the process pid) and an C<AnyEvent::Debug::shell> is bound on
2083that port. The shell object is saved in C<$AnyEvent::Debug::SHELL>. 2083that port. The shell object is saved in C<$AnyEvent::Debug::SHELL>.
2084 2084
2085This takes place when the first watcher is created. 2085This happens when the first watcher is created.
2086 2086
2087For example, to bind a debug shell on a unix domain socket in 2087For example, to bind a debug shell on a unix domain socket in
2088F<< /tmp/debug<pid>.sock >>, you could use this: 2088F<< /tmp/debug<pid>.sock >>, you could use this:
2089 2089
2090 PERL_ANYEVENT_DEBUG_SHELL=/tmp/debug\$\$.sock perlprog 2090 PERL_ANYEVENT_DEBUG_SHELL=/tmp/debug\$\$.sock perlprog

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines