Re: Need help with Perl and MySQL database data load
From: Martin Kissner (news_at_chaos-net.de)
Date: 01/16/05
- Next message: Shawn Corey: "Re: implementing "protected" in OO perl"
- Previous message: Paul S.: "Re: how can I use perl to do a windows "postmessage" ?"
- In reply to: Oscar: "Re: Need help with Perl and MySQL database data load"
- Next in thread: Tore Aursand: "Re: Need help with Perl and MySQL database data load"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Jan 2005 21:06:36 GMT
Oscar wrote :
> Hello,
>
> Thanks for the responses.
>
> I modified my script to declare
> my $user
> my $dsn
> my $pass
> my %args
> and modified my connect command to accomodate the new variables.
> When I ran the script I got the message:
> "Global symbol "$dns" requires explicit package name at sqltst2.pl line 13.
> Global symbol "$DBI requires explicit package name at sqltst2.pl line 14."
>
> [...]
>
> What does the above error mean and how can I fix?
It means, you have a typo in your skript.
my $dsn
"Global symbol "$dns"
$dsn <-> $dns
HTH
-- Epur Si Muove (Gallileo Gallilei)
- Next message: Shawn Corey: "Re: implementing "protected" in OO perl"
- Previous message: Paul S.: "Re: how can I use perl to do a windows "postmessage" ?"
- In reply to: Oscar: "Re: Need help with Perl and MySQL database data load"
- Next in thread: Tore Aursand: "Re: Need help with Perl and MySQL database data load"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading