Created
July 1, 2010 09:37
-
-
Save domm/459776 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use 5.010; | |
use Validad::Address::Utils; | |
# rather complex way to connect to DB, setting search_path etc | |
my $schema = Validad::Address::Utils->connect_dbic; | |
my $f1 = $schema->resultset('Ktest')->create({ | |
id=>int(rand(1000000)), | |
foo=>'test', | |
# kiotest=>DateTime->now, | |
}); | |
say $f1->id; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment