in reply to use strict and begin
#!/usr/bin/perl -w use strict; use vars '$dbh'; # In Perl >= 5.6.0: # our $dbh; BEGIN { $dbh = DBI->connect($DNS, "login", "password"); }
--
John.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use strict ans begin
by Abigail-II (Bishop) on Jul 17, 2002 at 11:32 UTC | |
by jmcnamara (Monsignor) on Jul 17, 2002 at 11:53 UTC |