Don't ask to ask, just ask | |
PerlMonks |
Re^3: functions and argumentsby jrtayloriv (Pilgrim) |
on Feb 18, 2008 at 21:11 UTC ( [id://668662]=note: print w/replies, xml ) | Need Help?? |
These are telling you you need to use my and declare these things... For instance: $dbh = DBI -> connect("DBI:Oracle:".$var1,$var2,$var3) || die ("not connected:DBI::errstr"); should be my $dbh = DBI -> connect("DBI:Oracle:".$var1,$var2,$var3) || die ("not connected:DBI::errstr"); And what are you doing with this?:
I'm not too familiar w/ DBI, but it looks to me like are storing each row of the query results into @row , then storing first element of @row (which needs to be declared w/ my first) into $values (which also needs a my), but are not using $values for anything. Why did you do this?
In Section
Seekers of Perl Wisdom
|
|