On Fri, 20 Apr 2001, webb sprague wrote:
> Aahh! I have a million Perl scripts that rely on this syntax in the DBI
> to connect to remote databases.
>
> like:
>
> $dbh=DBI->connect( "dbi:Pg:dbname=datab@remotehost",'wsprague','pass',
> {RaiseError => 1, AutoCommit => 1})
> or print STDERR "$DBI::errstr<p>";
>
> Umm, do you have any idea what we should do now?
perl -pie 's|@remotehost|;host=remotehost|g' <file>
Or something to that effect :-)
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Women in love consist of a little sighing, a little crying, a little dying
-- and a good deal of lying.
-- Ansey