Can't locate object method "selectcol_arrayref" via package "DBI::st" at C:\temp\test.pl line 29 (#1) (F) You called a method correctly, and it correctly indicated a package functioning as a class, but that package doesn't define that particular method, nor does any of its base classes. See perlobj.