#!/usr/bin/perl -w print "The DNA sequence is : \n" ; my $seq = 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'; print "$seq \n"; mutate ($seq); print "\n"; exit; sub mutate{ my($dna) = @_; my $position = randposition($dna); for ($i =0;$i