Help for this page

Select Code to Download


  1. or download this
    eval { $vars->{user} = MVG::User->retrieve( %data ) ; };
    # %data contains keys/values from q->params
    # MVG::User isa class with Class::DBI as base
    # $vars->{user} is the var I'm passing to Template
    
  2. or download this
    $VAR1 = bless( {
        'uid' => 'someuid'
    }, 'MVG::User' );
    
  3. or download this
    [% FOREACH method IN user.columns.sort -%]
    <tr>
    ...
            [%- END -%]
    </tr>
    [%- END -%]
    
  4. or download this
    __PACKAGE__->columns(All => qw/uid dn cn sn name telephonenumber objec
    +tclass title ou description
            departement givenname mobile postaladdress employeenumber room
    +number mail/ );