in reply to Variable in a string
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Variable in a string
by hbm (Hermit) on Dec 09, 2011 at 20:00 UTC | |
by Uberfinch (Initiate) on Dec 09, 2011 at 22:08 UTC |