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


in reply to Re: DBI problem on fetchrow
in thread DBI problem on fetchrow

That part of what the OP is doing is ok. "M" is being used as a table alias. SQL syntax supports table aliases either with or without the optional keyword "AS", so these two are the same, they both let you refer to "Regions" as "M":
SELECT M.foo FROM Regions AS M; SELECT M.foo FROM Regions M;