I have a text file of one very long string - once i've opened the filed for reading how do i declare the string inside as one string variable?
in this sort of syntax...
open (FILE, "filename.txt"
my $stringvariable = all the text in the file
while (<FILE>) {
#### operations on the string
}
in this sort of syntax...
open (FILE, "filename.txt"
my $stringvariable = all the text in the file
while (<FILE>) {
#### operations on the string
}