* Add enclair_db option to UserDB.pm. Allows logging of enclair password
[interchange.git] / code / Filter / lcfirst.filter
1 # Copyright 2007 Interchange Development Group and others
2
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.  See the LICENSE file for details.
7
8 # $Id: lcfirst.filter,v 1.1 2007-07-13 08:22:47 racke Exp $
9
10 CodeDef lcfirst Filter
11 CodeDef lcfirst Description First character lower case
12 CodeDef lcfirst Routine <<EOR
13 sub {
14         use locale;
15         if ($Scratch->{mv_locale}) {
16             POSIX::setlocale(LC_CTYPE, $Scratch->{mv_locale});
17         }
18         return lcfirst(shift);
19 }
20 EOR