Skip to content

Instantly share code, notes, and snippets.

@RogerDodger
Created December 15, 2014 03:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RogerDodger/967b8ebea78aaf2e6125 to your computer and use it in GitHub Desktop.
Save RogerDodger/967b8ebea78aaf2e6125 to your computer and use it in GitHub Desktop.
use WriteOff::Schema;
my $s = WriteOff::Schema->connect("dbi:SQLite:data/WriteOff.db","","");
for ($s->resultset('Event')->find(31)->storys) {
printf "%s %s\n", $_->title, $_->author;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment