# This is an example configuration.
# please see: http://napali.ch/vimplate

# you can use $Config::opt instead command options:
#   -user=<user> -dir=<dir>
$Config::opt = {
                  dir  => '/home/madduck/templates',
                  user => 'madduck',
};

# we need $Config::user with the option -user=<name>
$Config::user = {
                   madduck  => {
                                      firstname => 'Martin',
                                      lastname  => 'Krafft',
                                      mail      => 'mail@martin-krafft.net',
                                      etc       => '...',
                   },
                   otherUser   => {
                                      firstname => 'otherFirstname',
                                      lastname  => 'otherLastname',
                                      mail      => 'otherMail@example.org',
                   },
};

# use $Config::var for your own variables or subroutines
$Config::var = {
                 yourArray => [ 'Perl', 'C', 'C++' ],
                 example   => sub{ time },
};