in reply to eliminating warnings with conditional uses

You made two errors. You'd immediately see that if you tried to print the contents of $v.

This fixes it:

my $v = "\$$prereq\::VERSION"; # LINE 115
At least, now I see the printed result:
  Found DBI version 1.15
without any warning. (I don't have the other module.)