1 Eintrag, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl
use strict;
use warnings;
use Data::Dumper;
use M;
my $schema = M->connect('dbi:mysql:voting','root','secret');
my @users = $schema->resultset('User')->all();
foreach my $user (@users) {
print $user->username . ' - ' . $user->password . "\n";
}
INSERT INTO user AS u SET u.username='ronnie', u.password = PASSWORD('secret')
1 Eintrag, 1 Seite |