Skip to content

Instantly share code, notes, and snippets.

@tsucchi
Created March 14, 2014 03:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsucchi/9541706 to your computer and use it in GitHub Desktop.
Save tsucchi/9541706 to your computer and use it in GitHub Desktop.
replyでOtogiri使う
script_line1 = use strict
script_line2 = use warnings
script_line3 = use 5.018002
script_line4 = use Otogiri;
script_line5 = use Otogiri::Plugin;
script_line6 = my $connect_info = ["dbi:...",'username','password', { AutoCommit => 1, RaiseError => 1,PrintError => 0, pg_enable_utf8 => 1,}];
script_line7 = Otogiri->load_plugin('DeleteCascade');
script_line8 = my $db = Otogiri->new( connect_info => $connect_info );
[Interrupt]
[FancyPrompt]
[DataDumper]
[Colors]
[ReadLine]
[Hints]
[Packages]
[LexicalPersistence]
[ResultCache]
[Autocomplete::Packages]
[Autocomplete::Lexicals]
[Autocomplete::Functions]
[Autocomplete::Globals]
[Autocomplete::Methods]
[Autocomplete::Commands]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment