web commit by tschwinge: Typo fixes.
parent
d092e794b3
commit
aa7935d0d9
|
@ -51,14 +51,14 @@ To dump the entire database contents:
|
||||||
'email' => 'joey@kitenet.net',
|
'email' => 'joey@kitenet.net',
|
||||||
[...]
|
[...]
|
||||||
|
|
||||||
Editing values is simply a matter of changing values and calling Storable::nstore().
|
Editing values is simply a matter of changing values and calling `Storable::nstore()`.
|
||||||
So to change a user's password:
|
So to change a user's email address:
|
||||||
|
|
||||||
joey@kodama:~/src/joeywiki/.ikiwiki> perl -le 'use Storable; my $userinfo=Storable::retrieve("userdb"); $userinfo->{"foo"}->{email}=q{foo@bar}; Storable::lock_nstore($userinfo, "underdb")'
|
joey@kodama:~/src/joeywiki/.ikiwiki> perl -le 'use Storable; my $userinfo=Storable::retrieve("userdb"); $userinfo->{"foo"}->{email}=q{foo@bar}; Storable::lock_nstore($userinfo, "userdb")'
|
||||||
|
|
||||||
To remove that user:
|
To remove that user:
|
||||||
|
|
||||||
joey@kodama:~/src/joeywiki/.ikiwiki> perl -le 'use Storable; my $userinfo=Storable::retrieve("userdb"); delete $userinfo->{"foo"}; Storable::lock_nstore($userinfo, "underdb")'
|
joey@kodama:~/src/joeywiki/.ikiwiki> perl -le 'use Storable; my $userinfo=Storable::retrieve("userdb"); delete $userinfo->{"foo"}; Storable::lock_nstore($userinfo, "userdb")'
|
||||||
|
|
||||||
I've not written actual utilities to do this yet because I've only needed
|
I've not written actual utilities to do this yet because I've only needed
|
||||||
to do it rarely, and the data I've wanted has been different each time.
|
to do it rarely, and the data I've wanted has been different each time.
|
||||||
|
|
Loading…
Reference in New Issue