Just another Perl shrine | |
PerlMonks |
Re^4: DB search results using DBI...executeby jamroll (Beadle) |
on Mar 04, 2017 at 22:19 UTC ( [id://1183681]=note: print w/replies, xml ) | Need Help?? |
wow. so many different ways to do things, makes it hard to keep track of which is right lol.
ok. so, i changed it from $#arr to scalar(@arr)
i'll have to rip through some 30,000 lines of code to fix that issue.
do i have to use if (scalar(@arr) eq 1) or would if (@arr eq 1) work the same?
In Section
Seekers of Perl Wisdom
|
|