I think it's a little easier on the maintenance programmer's eyes, and it high-lights the fact that the varying part of the name is in the middle of the string.my $file_name = "CAC1Bvariant"; $file_name .= $variable; $file_name .= '_fasta.txt';
----
I Go Back to Sleep, Now.
OGB
In reply to Re: Variable in a string
by Old_Gray_Bear
in thread Variable in a string
by Uberfinch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |