in reply to Re^2: Too many arguments to connect-help?
in thread Too many arguments to connect-help?
However, the code in DBI.pm resolves this conflict - it says:
so - it will accept EITHER case for the "DBI" part.sub connect { .... # extract dbi:driver prefix from $dsn into $1 $dsn =~ s/^dbi:(\w*?)(?:\((.*?)\))?://i or '' =~ /()/; # ensure $1 etc are empty if match fails
The part about "(Letter case is significant.)" applies to the DBD driver name, not the the "DBI" or "dbi" - it will even accept "DbI".
What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
-Larry Wall, 1992
|
|---|