in reply to What are some common causes of syntax errors in queries?
i get similar error using "my" keyword to declare variable.
one way to solve it is to assign a default value right away when you declare variables with my.
ie:
or the other way to get around is to use the following:$user2 ="user2"; $pass2 ="*****";
hope this helps.no warnings;
|
---|
In Section
Seekers of Perl Wisdom