Re: RFI: Database URIs

"David E. Wheeler" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Nov 26, 2013, at 10:02 AM, David E. Wheeler <[email protected]> wrote:

>    $ perl-MURI -E 'say URI->new("db:pg://me:[email protected]/foo.db")->dbi_dsn'
>    dbi:Pg:dbname=me:secret.com/foo.db

Well, I can see I have a bug or two to work out. That should be:

    $ perl -MURI -Ilib -E 'say URI->new("db:pg://me:[email protected]/foo.db")->dbi_dsn'
    dbi:Pg:host=example.com;dbname=foo.db

Thanks,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.