I will present a toy model of early universe cosmology - string gas cosmology- which is based on some fundamental principles of string theory. This model yields a mechanism for producing primordial cosmological perturbations which reproduces the successes of the inflationary scenario, and at the same time makes specific predictions with which it can be distinguished observationally.