Polarisation switching in a twin stripe laser is exploited to produce logic operations with possible applications in optical data processing and computing. Experimental results are presented showing polarisation based logical inversion, and this operation is used to enable the configuration of the laser device as an optical “clock” and optical pseudo-random pulse generator. Phase locking of the optical clock is also demonstrated.