Conductive, monodisperse polyaniline nanofibers of controlled length using well-defined cylindrical block copolymer micelles as templates.