The authors have made submillimetre observations of the Bok globule B335 and partially resolved the cold, compact, far-infrared source detected by Keene et al. The luminosity of this source suggests that it is an embedded, low-mass, pre-main-sequence or protostellar object. From the measured size of the central source the authors conclude that it is an envelope of material accreting on to a central core and being heated by radiation from the accretion shock. Some of the energy released at the shock causes mass loss which is channelled by the surrounding envelope into a bipolar outflow. The presence of both infall and outflow in B335 indicates that it belongs to a new class of astronomical object.