The functions that are explained in this section, are defined in the package Spectra. Therefore a complete name needs the prefix Spectra::, like in $ret = Spectra::cls();. This syntax is always correct.
However, some users may find it convenient to drop the prefix, in order to save keystrokes. Therefore most of the function names are 'exported', allowing to say, e.g. : $ret = cls();. The problem is that not all function names have been exported since some of them conflict with Perl intrinsic names, like read(), open(), close(), print(), etc. To conclude: You are always on the save side, if you refer to function by the complete name, i.e. including the prefix Spectra::.