in reply to Re: Rewording the Resources docs
in thread Rewording the Resources docs
Might I suggest the following?
Creates a new resource database object $res, initializes it, and returns the new object, or undef in case of error.
my $res = Resources->new( $filename ); # Load file data my $res = Resources->new(); # New with core defaults only my $res = Resources->new('_RES_NODEFAULTS'); # totally empty
The resource is initialized in one of three possible ways based on the single argument, $resfile, that it can take:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Rewording the Resources docs
by princepawn (Parson) on Oct 27, 2003 at 11:20 UTC |