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.181 by root, Sat Sep 6 10:54:32 2008 UTC vs.
Revision 1.184 by root, Wed Oct 1 16:53:27 2008 UTC

825=item L<AnyEvent::IGS> 825=item L<AnyEvent::IGS>
826 826
827A non-blocking interface to the Internet Go Server protocol (used by 827A non-blocking interface to the Internet Go Server protocol (used by
828L<App::IGS>). 828L<App::IGS>).
829 829
830=item L<Net::IRC3> 830=item L<AnyEvent::IRC>
831 831
832AnyEvent based IRC client module family. 832AnyEvent based IRC client module family (replacing the older Net::IRC3).
833 833
834=item L<Net::XMPP2> 834=item L<Net::XMPP2>
835 835
836AnyEvent based XMPP (Jabber protocol) module family. 836AnyEvent based XMPP (Jabber protocol) module family.
837 837
861no warnings; 861no warnings;
862use strict qw(vars subs); 862use strict qw(vars subs);
863 863
864use Carp; 864use Carp;
865 865
866our $VERSION = 4.234; 866our $VERSION = 4.3;
867our $MODEL; 867our $MODEL;
868 868
869our $AUTOLOAD; 869our $AUTOLOAD;
870our @ISA; 870our @ISA;
871 871
1028BEGIN { 1028BEGIN {
1029 if (eval "use Time::HiRes (); time (); 1") { 1029 if (eval "use Time::HiRes (); time (); 1") {
1030 *_time = \&Time::HiRes::time; 1030 *_time = \&Time::HiRes::time;
1031 # if (eval "use POSIX (); (POSIX::times())... 1031 # if (eval "use POSIX (); (POSIX::times())...
1032 } else { 1032 } else {
1033 *_time = \&CORE::time; # epic fail 1033 *_time = sub { time }; # epic fail
1034 } 1034 }
1035} 1035}
1036 1036
1037sub time { _time } 1037sub time { _time }
1038sub now { _time } 1038sub now { _time }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines