Skip to content

Instantly share code, notes, and snippets.

@irfancode
Created February 22, 2016 06:12
Show Gist options
  • Save irfancode/bc340a2ccf9aacc834cc to your computer and use it in GitHub Desktop.
Save irfancode/bc340a2ccf9aacc834cc to your computer and use it in GitHub Desktop.
#!/usr/bin/perl -w
use v5.18;
#if perl DBI module isn't install
#execute this command on debian based distro
#sudo apt-get install libdbi-perl
use DBI;
say $_ foreach DBI->available_drivers;
#expected output
#DBM
#ExampleP
#File
#Gofer
#Proxy
#Sponge
@irfancode
Copy link
Author

irfancode: ~ $ perl -e '

use v5.18;
use DBI;
say $_ foreach DBI->available_drivers;
'
DBM
ExampleP
File
Gofer
Proxy
Sponge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment