GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Mojo::Server::Morbo::Backend::Poll(3) User Contributed Perl Documentation Mojo::Server::Morbo::Backend::Poll(3)
 

Mojo::Server::Morbo::Backend::Poll - Morbo default backend

  use Mojo::Server::Morbo::Backend::Poll;
  my $backend = Mojo::Server::Morbo::Backend::Poll->new;
  if (my $files = $backend->modified_files) {
    ...
  }

Mojo::Server::Morbo::Backend:Poll is the default backend for Mojo::Server::Morbo.

Mojo::Server::Morbo::Backend::Poll inherits all attributes from Mojo::Server::Morbo::Backend.

Mojo::Server::Morbo::Backend::Poll inherits all methods from Mojo::Server::Morbo::Backend and implements the following new ones.

  my $files = $backend->modified_files;
Check file size and mtime to determine which files have changed, this is not particularly efficient, but very portable.
  # All files that have been modified
  say for @{$backend->modified_files};

Mojolicious, Mojolicious::Guides, <https://mojolicious.org>.
2018-11-22 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.