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

Comparing AnyEvent/lib/AnyEvent/Strict.pm (file contents):
Revision 1.37 by root, Tue Oct 4 15:29:01 2011 UTC vs.
Revision 1.39 by root, Tue Mar 27 23:47:57 2012 UTC

83 or (POSIX::lseek $FD_I, 0, 1) != -1 83 or (POSIX::lseek $FD_I, 0, 1) != -1
84 or $! != Errno::EBADF 84 or $! != Errno::EBADF
85 or die; 85 or die;
86 } while --$cnt; 86 } while --$cnt;
87 1 87 1
88 } or AE::log crit => "file descriptor $FD_I registered with AnyEvent but prematurely closed, event loop might malfunction.\n"; 88 } or AE::log crit => "File descriptor $FD_I registered with AnyEvent but prematurely closed, event loop might malfunction.";
89}; 89};
90 90
91sub io { 91sub io {
92 my $class = shift; 92 my $class = shift;
93 my (%arg, $fh, $cb, $fd) = @_; 93 my (%arg, $fh, $cb, $fd) = @_;
231 and croak "AnyEvent->now wrongly called with paramaters"; 231 and croak "AnyEvent->now wrongly called with paramaters";
232 232
233 $class->SUPER::now (@_) 233 $class->SUPER::now (@_)
234} 234}
235 235
2361;
237
238=head1 AUTHOR 236=head1 AUTHOR
239 237
240 Marc Lehmann <schmorp@schmorp.de> 238 Marc Lehmann <schmorp@schmorp.de>
241 http://home.schmorp.de/ 239 http://home.schmorp.de/
242 240
243=cut 241=cut
244 242
2431
244

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines