I had a terrible time finding out what this was on the web. Go ahead, try it. Type “blueberries,” or “blue berries,” or “blue seed pods,” or “blue peppers” (I was getting desperate). Finally I wrote to the people at Shore Acres State Park in Oregon, and they were kind enough to identify the plant I had photographed while visiting their botanical gardens. Flax lilies are popular with gardeners, and many cultivars are available. It is not in the wild in North America, and is a native of Australia.
Identification: The bright blue berries, ½-¾" (1.3-1.9 cm) in length, are unlike anything I have ever seen, resembling small bell peppers in shape. The flax lily has long grasslike leaves and purple flowers with yellow stamens. Flowers are ½-¾" (1.3-1.9 cm) in diameter.
Dianella tasmanica at the Australian Government's Australian National Botanic Gardens
Dianella tasmanica on Wikipedia
Dianella tasmanica on the Texas AgriLife Extension Service and Texas A&M University, Texas A&M System
Dianella tasmanica on Plants for a Future, a resource and information centre for edible and otherwise useful plants
Dianella tasmanica at Gymnosperms.org
Dianella tasmanica description by Thomas H. Kent, last updated 16 Aug 2013.
Range: Zones 9b-11: