Help for this page

Select Code to Download


  1. or download this
    CREATE TABLE `user` (
      `user_id` int(11) NOT NULL auto_increment,
    ...
    (3, 1), 
    (3, 2), 
    (0, 0);
    
  2. or download this
    package Test::DBI;
    use base 'Class::DBI';
    ...
    __PACKAGE__->columns(All => qw(role_id rolename));
    
    1;
    
  3. or download this
    #!/usr/local/bin/perl;
    
    ...
    #    print "role: " . $_->id . " and " . $_->rolename . "\n";
    #}
    exit;
    
  4. or download this
    user with id 1 is: John
    and has roles:
     is not a column of TestDBI::userrole at test.pl line 12
    [root@posiedon3 www]#