Changeset 242 for trunk/script
- Timestamp:
- 06/13/09 15:27:17 (15 years ago)
- Location:
- trunk/script
- Files:
-
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/script/epoll_cgi.pl
r213 r242 7 7 use FindBin; 8 8 use lib "$FindBin::Bin/../lib"; 9 use Vote;9 use Epoll; 10 10 11 Vote->run;11 Epoll->run; 12 12 13 13 1; … … 15 15 =head1 NAME 16 16 17 vote_cgi.pl - Catalyst CGI17 epoll_cgi.pl - Catalyst CGI 18 18 19 19 =head1 SYNOPSIS -
trunk/script/epoll_create.pl
r213 r242 21 21 my $helper = Catalyst::Helper->new( { '.newfiles' => !$force, mech => $mech } ); 22 22 23 pod2usage(1) unless $helper->mk_component( ' Vote', @ARGV );23 pod2usage(1) unless $helper->mk_component( 'Epoll', @ARGV ); 24 24 25 25 1; … … 27 27 =head1 NAME 28 28 29 vote_create.pl - Create a new Catalyst Component29 epoll_create.pl - Create a new Catalyst Component 30 30 31 31 =head1 SYNOPSIS 32 32 33 vote_create.pl [options] model|view|controller name [helper] [options]33 epoll_create.pl [options] model|view|controller name [helper] [options] 34 34 35 35 Options: … … 39 39 40 40 Examples: 41 vote_create.pl controller My::Controller42 vote_create.pl -mechanize controller My::Controller43 vote_create.pl view My::View44 vote_create.pl view MyView TT45 vote_create.pl view TT TT46 vote_create.pl model My::Model47 vote_create.pl model SomeDB DBIC::Schema MyApp::Schema create=dynamic\41 epoll_create.pl controller My::Controller 42 epoll_create.pl -mechanize controller My::Controller 43 epoll_create.pl view My::View 44 epoll_create.pl view MyView TT 45 epoll_create.pl view TT TT 46 epoll_create.pl model My::Model 47 epoll_create.pl model SomeDB DBIC::Schema MyApp::Schema create=dynamic\ 48 48 dbi:SQLite:/tmp/my.db 49 vote_create.pl model AnotherDB DBIC::Schema MyApp::Schema create=static\49 epoll_create.pl model AnotherDB DBIC::Schema MyApp::Schema create=static\ 50 50 dbi:Pg:dbname=foo root 4321 51 51 -
trunk/script/epoll_fastcgi.pl
r213 r242 9 9 use FindBin; 10 10 use lib "$FindBin::Bin/../lib"; 11 use Vote;11 use Epoll; 12 12 13 13 my $help = 0; … … 26 26 pod2usage(1) if $help; 27 27 28 Vote->run(28 Epoll->run( 29 29 $listen, 30 30 { nproc => $nproc, … … 40 40 =head1 NAME 41 41 42 vote_fastcgi.pl - Catalyst FastCGI42 epoll_fastcgi.pl - Catalyst FastCGI 43 43 44 44 =head1 SYNOPSIS 45 45 46 vote_fastcgi.pl [options]46 epoll_fastcgi.pl [options] 47 47 48 48 Options: -
trunk/script/epoll_server.pl
r213 r242 51 51 # This is require instead of use so that the above environment 52 52 # variables can be set at runtime. 53 require Vote;53 require Epoll; 54 54 55 Vote->run( $port, $host, {55 Epoll->run( $port, $host, { 56 56 argv => \@argv, 57 57 'fork' => $fork, … … 67 67 =head1 NAME 68 68 69 vote_server.pl - Catalyst Testserver69 epoll_server.pl - Catalyst Testserver 70 70 71 71 =head1 SYNOPSIS 72 72 73 vote_server.pl [options]73 epoll_server.pl [options] 74 74 75 75 Options: -
trunk/script/epoll_test.pl
r213 r242 7 7 use FindBin; 8 8 use lib "$FindBin::Bin/../lib"; 9 use Catalyst::Test ' Vote';9 use Catalyst::Test 'Epoll'; 10 10 11 11 my $help = 0; … … 21 21 =head1 NAME 22 22 23 vote_test.pl - Catalyst Test23 epoll_test.pl - Catalyst Test 24 24 25 25 =head1 SYNOPSIS 26 26 27 vote_test.pl [options] uri27 epoll_test.pl [options] uri 28 28 29 29 Options: … … 31 31 32 32 Examples: 33 vote_test.pl http://localhost/some_action34 vote_test.pl /some_action33 epoll_test.pl http://localhost/some_action 34 epoll_test.pl /some_action 35 35 36 36 See also:
Note: See TracChangeset
for help on using the changeset viewer.