How to insert new line in perl

HI,
I have a text file in which I have removed all new lines as I would like to introduce a new line at the end of each record in the file. There is no common end line for all the records. A new record will start by *RECORD*. So I want to introduce a new line before this line *RECORD*. So Can anyone please specify a command or program in perl or unix for this please.

Thanks in advance

perl -pe 's/(\*RECORD\*)/\n$1/gs'  

Hi otheus,

Thank You so much.:b: