use IO::Handle; STDOUT->print("printing works\n"); __END__ printing works