aboutsummaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2008-05-27 18:17:41 -0400
committerJoey Hess <joey@kitenet.net>2008-05-27 18:17:41 -0400
commitaa7935d0d97db47d5db9cd826c97df33c0145abb (patch)
tree9cfcbc4df9936d43d8a1e9b67ca4d94ec443301e /doc/tips
parentd092e794b346e59318fe05bbe456e8fc3085a97f (diff)
downloadikiwiki-aa7935d0d97db47d5db9cd826c97df33c0145abb.tar
ikiwiki-aa7935d0d97db47d5db9cd826c97df33c0145abb.tar.gz
web commit by tschwinge: Typo fixes.
Diffstat (limited to 'doc/tips')
-rw-r--r--doc/tips/inside_dot_ikiwiki.mdwn8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/tips/inside_dot_ikiwiki.mdwn b/doc/tips/inside_dot_ikiwiki.mdwn
index 69083a9a5..268910ebc 100644
--- a/doc/tips/inside_dot_ikiwiki.mdwn
+++ b/doc/tips/inside_dot_ikiwiki.mdwn
@@ -51,14 +51,14 @@ To dump the entire database contents:
'email' => 'joey@kitenet.net',
[...]
-Editing values is simply a matter of changing values and calling Storable::nstore().
-So to change a user's password:
+Editing values is simply a matter of changing values and calling `Storable::nstore()`.
+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:
- 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
to do it rarely, and the data I've wanted has been different each time.