Drug education is the only part of the middle school curriculum I remember — perhaps because it backfired so spectacularly. Before reaching today’s legal drinking age, I was shooting cocaine and heroin.

I’ve since recovered from my addiction, and researchers now are trying to develop innovative prevention programs to help children at risk take a different road than I did.

Developing a public antidrug program that really works has not been easy. Many of us grew up with antidrug programs like D.A.R.E. or the Nancy Reagan-inspired antidrug campaign “Just Say No.” But research shows those programs and others like them that depend on education and scare tactics were largely ineffective and did little to curb drug use by children at highest risk.

But now a new antidrug program tested in Europe, Australia and Canada is showing promise. Called Preventure, the program, developed by Patricia Conrod, a professor of psychiatry at the University of Montreal, recognizes how a child’s temperament drives his or her risk for drug use — and that different traits create different pathways to addiction. Early trials show that personality testing can identify 90 percent of the highest risk children, targeting risky traits before they cause problems.