http://www.perlmonks.org?node_id=924654

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is there an easier way to recieve one piece of data from a mysql query? I really am only selecting one field. (SELECT post FROM tablename WHERE url="$url").

All I'm trying to do is get that variable to $this. All the references I see online show
while (@row = $sth->fetchrow_array) { print "@row\n" }
Which seems above and beyond what I need it to do. Is there any better way to do what I need?