Hi all,
I'm writing a program to replace A's and G's in a text file I have. This is the code I have:
#!usr/bin/perl
open(FILE, "whatshappenin") or die $!;
#QUICKEST WAY OF READING A LINE BY LINE INTO AN ARRAY
foreach $line (<FILE>)
{
chomp($line);
my @array_of_chars = split(//,$line);
my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.