Changeset 20990 for trunk/Nebulous-Server/lib/Nebulous/Server/SOAP.pm
- Timestamp:
- Dec 14, 2008, 12:54:25 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/lib/Nebulous/Server/SOAP.pm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/lib/Nebulous/Server/SOAP.pm
r20972 r20990 1 1 # Copyright (c) 2004 Joshua Hoblitt 2 2 # 3 # $Id: SOAP.pm,v 1. 5 2008-12-13 00:41:15 jhoblittExp $3 # $Id: SOAP.pm,v 1.6 2008-12-14 22:54:25 eugene Exp $ 4 4 5 5 package Nebulous::Server::SOAP; … … 17 17 our $AUTOLOAD; 18 18 19 our $config;19 our @args; 20 20 our $neb; 21 21 22 23 sub new_on_init 24 { 22 sub new_on_init { 25 23 my $self = shift; 26 24 … … 29 27 require Apache2::ServerUtil; 30 28 31 $config = shift;29 @args = @_; 32 30 33 31 my $s = Apache2::ServerUtil->server; … … 37 35 } 38 36 39 40 sub init 41 { 37 sub init { 42 38 my $self = shift; 43 39 44 $neb = Nebulous::Server->new _from_config($config);40 $neb = Nebulous::Server->new(@args); 45 41 46 42 return Apache2::Const::OK; 47 43 } 48 44 49 50 sub AUTOLOAD 51 { 45 sub AUTOLOAD { 52 46 my $self = shift; 53 47 … … 82 76 } 83 77 84 85 78 1;
Note:
See TracChangeset
for help on using the changeset viewer.
