projects
/
MojoFacets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modify existing column example
[MojoFacets.git]
/
README
diff --git
a/README
b/README
index
750c6f8
..
1d55870
100644
(file)
--- a/
README
+++ b/
README
@@
-58,3
+58,10
@@
array of values if you are creating new columns, even for single value.
push @{ $rec->{century} }, int($year/100)+1;
}
+* modify existing column
+
+ foreach ( @{ $rec->{'Cited Author'} } ) {
+ s/^\.+//;
+ $_ = uc $_; # assigment is needed to modify value!
+ }
+