Catalyst::Restarter(3pm) User Contributed Perl Documentation Catalyst::Restarter(3pm)NAME
Catalyst::Restarter - Uses File::ChangeNotify to check for changed files and restart the server
SYNOPSIS
my $class = Catalyst::Restarter->pick_subclass;
my $restarter = $class->new(
directories => '/path/to/MyApp',
regex => '.yml$|.yaml$|.conf|.pm$',
start_sub => sub { ... }
);
$restarter->run_and_watch;
DESCRIPTION
This is the base class for all restarters, and it also provide functionality for picking an appropriate restarter subclass for a given
platform.
This class uses File::ChangeNotify to watch one or more directories of files and restart the Catalyst server when any of those files
changes.
METHODS
pick_subclass
Returns the name of an appropriate subclass for the given platform.
new ( start_sub => sub { ... }, ... )
This method creates a new restarter object, but should be called on a subclass, not this class.
The "start_sub" argument is required. This is a subroutine reference that can be used to start the Catalyst server.
run_and_watch
This method forks, starts the server in a child process, and then watched for changed files in the parent. When files change, it kills the
child, forks again, and starts a new server.
SEE ALSO
Catalyst, File::ChangeNotify
AUTHORS
Catalyst Contributors, see Catalyst.pm
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-05-19 Catalyst::Restarter(3pm)
Check Out this Related Man Page
Catalyst::Authentication::Store::Null(3pm) User Contributed Perl Documentation Catalyst::Authentication::Store::Null(3pm)NAME
Catalyst::Authentication::Store::Null - Null authentication store
SYNOPSIS
use Catalyst qw(
Authentication
);
__PACKAGE__->config( 'Plugin::Authentication' => {
default_realm => 'remote',
realms => {
remote => {
credential => {
class => 'TypeKey',
key_url => 'http://example.com/regkeys.txt',
},
store => {
class => 'Null',
}
}
}
});
DESCRIPTION
The Null store is a transparent store where any supplied user data is accepted. This is mainly useful for remotely authenticating
credentials (e.g. TypeKey, OpenID) which may not be tied to any local storage. It also helps facilitate integration with the Session
plugin.
METHODS
new( )
Creates a new instance of the store.
for_session( )
Returns the user object passed to the method.
from_session( )
Returns the user object passed to the method.
find_user( )
Since this store isn't tied to any real set of users, this method just returns the user info bless as a
Catalyst::Authentication::User::Hash object.
user_supports( )
Delegates to Catalyst::Authentication::User::Hash.
perl v5.14.2 2012-04-14 Catalyst::Authentication::Store::Null(3pm)
Hi,
Sorry about the hassle...
Does anyone know if the Cisco Catalyst 1700 is stackable, I ckecked in the Cisco home page, bulletins etc. but can't find anything.
Thanks in advance (1 Reply)
Hi...
I have a very wired problem with my redhat4 update 4 server...
Every time i create a file bigger then my physical memory the server kills the process\session that creates the file, and in the "messages" file i see this error:
"Oct 21 15:22:22 optidev kernel: Out of Memory: Killed process... (6 Replies)
Hello.
I'd like to know how to make a simple restarter using cron. I made something like this:
"* * * * * root home/..(full path)/file"
But it doesn't work. How can I do that or how to make restarter of the application in other way? (1 Reply)
All Expert,
I am using Sun OS 5.8 and Perl version 5 in One server and Perl 5.8 in another unix server.
I am able to read a file using fopen function of perl --file size having more then 3 GB of data.(In the machine where Perl 5.8 install)
But when i am running the same perl script --It... (1 Reply)
I have requirement where i need to search for files which start with SALESORDER and PURCHASEORDER. i need to process the files with SALESORDER first and then PURCHASEORDER. If SALESORDER files are not there i dont want to process PURCHASEORDER and i want to come out of script. I have written a code... (4 Replies)
I am having a client/server application which will download files from server. If server has directories, it will create directories/sub directories and then download files. In this process, I observed that number of open files are more than 400 (which is approxmately same as number of dir/subdir... (1 Reply)
I am having a client/server application which will download files from server. If server has directories, it will create directories/sub directories and then download files. In this process, I observed that number of open files are more than 400 (which is approxmately same as number of dir/subdir... (1 Reply)
How can I nest substitutions ? My solution just seems cheap ...
sample data
Cisco Catalyst Operating System Software, Version 235.5(18)
Cisco Catalyst Operating System Software, Version 17.6(7)
Cisco Catalyst Operating System Software, Version 19.6(7)
Cisco Catalyst Operating System... (1 Reply)
Does anyone know the noticable different between Catalyst 2960S 24 GigE PoE 370W 2 x 10G SFP+ LAN Base and Catalyst 2960S 24 GigE PoE 370W 4 x SFP LAN Base ? (0 Replies)