"Is there any opportunity for earning money by writing perl scripts for genetic analysis, molecular biology etc. for those (persons or companies) who need such scripts for scientific research and development?"
If you write a script and try to sell it to a bunch of biomedical companies, then you're unlikely to get many buyers.
However, plenty of people do earn money writing Perl scripts, having been hired or contracted by such companies.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'