This second debug script also works?! and yields similar output. use lib qw(/opt/rt3/lib/ /opt/rt3/local/lib); use RT; use Data::Dumper; RT::LoadConfig(); RT->Init(); $r = $RT::Handle->SimpleQuery(' Select * From Users LIMIT 2'); print Dumper $_ while( $_ = $r->fetchrow_hashref );