XP is just a number | |
PerlMonks |
my and its useby tame1 (Pilgrim) |
on Nov 16, 2000 at 00:06 UTC ( [id://41854]=perlquestion: print w/replies, xml ) | Need Help?? |
tame1 has asked for the wisdom of the Perl Monks concerning the following question:
Strange behavior The following is a chunk of code I use in almost all my scripts The problem is that if you perl -cw this, it says "Global symbol "$dbh" requires explicit package name . . . . . So I am forced to put a my $dbh; one line before it. Can someone tell me where I am wrong in thinking that I can do my $dbh = DBI->connect($db, $user, $auth); ? What does this little button do . .<Click>; "USER HAS SIGNED OFF FOR THE DAY"
Back to
Seekers of Perl Wisdom
|
|