I know the code is pointless right now I'm just doing some tests with DBI code. Well, the problem is the [$_-1] part.sub queryDBI { my $query1 = "SELECT $_[2],$_[3],$_[$_-1] FROM ".$_[1];
In reply to Uninitialized value warning in subrutine by Deib
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |