Help for this page

Select Code to Download


  1. or download this
    CREATE TABLE `table1` (
        `id` char(15) NOT NULL,
    ...
        `group` char(255) default NULL,
        PRIMARY KEY  (`id`)
    )
    
  2. or download this
    sub test_distinct :Local {
        $c->stash->{distinct_groups} = [
    ...
            )
        ];
    }
    
  3. or download this
        [% FOREACH item IN distinct_groups %]
           '[% item  %]'<br />       
        [% END %]
    
  4. or download this
        'TestApp::Schema::Database1::Table1=HASH(0x34a21a4)'
        'TestApp::Schema::Database1::Table1=HASH(0x34a2234)'
        'TestApp::Schema::Database1::Table1=HASH(0x34a7f00)'
    
  5. or download this
        [% FOREACH item IN distinct_groups %]
            '[% item.group  %]'<br />       
        [% END %]