The library is quiet. At the front counter, workers shuffle papers, sort books and peck at computers. A woman walks in. “Oh, Miss Shirley is here,” says the man behind the reference desk, peeking over the top of his reading glasses. He is a convicted murderer.

Miss Shirley is Glennor Shirley, head librarian for Maryland prisons, responsible for the rows of books behind the barbed-wire fences here at Western Correctional Institution and 16 other state prison libraries. The inmate behind the desk and the librarian’s relationship dates back to a Commodore 64.

“Remember, when you locked me in a room until I learned how to use that computer?” says the inmate, who wasn’t authorized by the prison to be quoted by name. Miss Shirley laughs, changes the subject, deflecting attention from herself, and then the inmate whispers: “Don’t let her be too modest. She is an amazing teacher. A lot of us have relied on her.”

Murderers, rapists, thieves and drug dealers have been relying on Miss Shirley, as she is always called by library visitors, for more than two decades to get them Jackie Collins novels, Westerns, biographies of Henry Ford, the latest James Patterson page-turner, poetry, Entrepreneur magazine, math textbooks, resume guides and illustrated books about snakes.

But with state budget shortfalls, Miss Shirley is no longer allocated money for new books. Her already tiny slice of the $13.9 million prison education budget was whittled back even further after the department took a $2.1 million hit last year. Staffing is down. Funds for programs letting prisoners read books to their children — also gone.

These days, her stories about library science behind bars often begin with this phrase, “When I had money. . . ”

Changing lives

Miss Shirley has weathered deficits during previous recessions as lawmakers diverted money away from prisoners toward law-abiding citizens — a constituency, she knows, that is prone to ask, “Why give money to murderers to read when people can’t get jobs?”

The pendulum between punishment and rehabilitation behind bars always swings toward punishment during tough fiscal times, prisoner advocates say. But they also argue the swing is shortsighted, pointing to studies showing education programs can reduce recidivism by 29 percent.

“Libraries in prisons changes lives,” says Diana Reese, president of the American Library Association’s division for specialized libraries.

Prisoners acknowledge the difficult decisions lawmakers face.

“Here are these men locked up, promised three meals a day, and we can read at our leisure without paying the rent,” says Wayde Heslop, 38, of Silver Spring, who is serving a life sentence at North Branch Correctional for the murder of a 23-year-old Hyattsville man. (Heslop loved “The Count of Monte Cristo.”) “But some of these men are coming back home. If they come back into society, at least they should come back educated.”

Miss Shirley is not complaining. Rather, she has won plaudits from her prison librarian peers for pushing ahead despite setbacks facing the entire prison reading community. “Her libraries have been devastated in the last few years,” says Diane Walden, Miss Shirley’s counterpart for Colorado prisons. “She doesn’t complain or vent or whine. She is very focused on what she can do. She’s an amazing person and advocate.”

Miss Shirley, 67, immigrated to Maryland in the 1980s from Jamaica, where she was a librarian. She has a gentle voice, inflected with an island accent, and she’s a talker. While working low-level jobs in public libraries during the day, she worked nights in a prison library to pay her bills.

“I was just being practical,” she says. “I needed the money.” She remembers the first time the gate clanged behind her. “I had hundreds of inmates in my face. It was a strange feeling, these dozens of eyes looking at you and assessing you.”

The part-time job turned full time, and Miss Shirley rose to become a nationally known advocate for prison reading, telling tales of life behind bars in her popular blog, Prison Librarian. About a program she organized for prisoners to read to their children, she quotes an inmate saying, “It couldn’t get any righter than this.”

“I am basically a person who believes in justice and what is right,” Miss Shirley says. “I saw these needs behind bars.”

Mining connections

With the state facing a $1.6 billion budget shortfall, her job has become stressful and more complex. Miss Shirley relies on donations to line the shelves, but many books are several years out of date or the pages are too weathered and brown to be used.

Miss Shirley, whose official title is library coordinator, is not above mining connections to score good books for her staff of librarians. She is president of the Maryland Library Association, and she seeks appointments to organizations that she can lean on for help. “I run my mouth a lot,” she says.

She ran it last year with the One Maryland One Book program, landing copies of “Outcasts United” for prisoners, who then discussed the book at a meeting with author Warren St. John. “I didn’t get down on my hands and knees and beg,” Miss Shirley says, “but I did charm them.”

Roughly 7,000 new prisoners sign up for library privileges every year, according to state statistics. There are about 199,000 items in monthly circulation. The libraries look little different than an elementary school’s facility. The shelves are low. The Dewey Decimal System is in operation. Posters for the National Book Festival hang on the wall, even though these library patrons won’t attend.

Miss Shirley has found that leisure reading among prisoners — when they aren’t doing legal research — has held relatively steady. Urban novels are popular. So are romance novels by Jackie Collins and Eric Jerome Dickey. “A lot of guys in relationships, they read that stuff to tap their sensitive aspects,” says Heslop, the inmate from Silver Spring.

Westerns are popular for their depiction of old-time lawlessness. Thrillers are also in high demand.

“It’s like people reading Dean Koontz on a plane,” says Larry Sullivan, a John Jay College of Criminal Justice professor and expert on prison reading. “It’s easy. It’s like candy. But reading almost anything is better than reading nothing. You’d rather have someone reading a novel than hanging around the yard stabbing someone.”

Miss Shirley says library users tend to be better behaved and more focused on their future, even if, like Heslop, they will likely spend the rest of their lives behind bars. His favorite magazine: Entrepreneur. “You might read a story in there of a person being poor, sleeping on the street, but they had an education and they knew where to go to elevate themselves,” he says. “It’s very encouraging.”

Prisoners, he says, look forward to library visits. If a guard yells “library day” in the cellblocks, he says, inmates pipe up and bang on their doors: “Cell 45! Cell 42! Everyone wants to come. It’s like you are not even in prison anymore. You feel like you are uptown in the library. There are no bars in here.”