>
> $ cat 3.pl
> #!/usr/bin/perl
> use Mojo::Base;
>
> use Mojo::IOLoop;
>
> my $cb;
> $cb = sub {
> warn 111;
> Mojo::IOLoop->next_tick($cb)
> };
> Mojo::IOLoop->next_tick($cb);
>
> Mojo::IOLoop->start;
>
понедельник, 4 апреля 2016 г., 15:37:59 UTC+5 пользователь BINLEI XUE
написал:
>
> Hi,
>
> while (1) {
> Mojo::IOLoop->one_tick;
> }
>
> Is that ok?
>
>
> Best,
>
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.