Welcome to the Monastery | |
PerlMonks |
appending a variableby pragovnj (Acolyte) |
on Apr 28, 2022 at 15:36 UTC ( [id://11143394]=perlquestion: print w/replies, xml ) | Need Help?? |
pragovnj has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Based on a reply to my earlier question, I have an issue. I have a a variable, $FN_OUTPUT
I need to modify the above as $FN_OUTPUT = "$DST_DIR/XXX_SIPABCD_5MIN_OHR_${YYYYmmddHHMMSS}ss_${INSTANCE}_$$"; # Suffixes added later: .processing .completedwhere ss will be the VM instance added This is my code, thanks to previous tips on this site
if it is VM=0 then FN_OUTPUT = "$DST_DIR/XXX_SIPABCD_5MIN_OHR_${YYYYmmddHHMMSS}00_${INSTANCE}_$$"; or if VM =1, then FN_OUTPUT = "$DST_DIR/XXX_SIPABCD_5MIN_OHR_${YYYYmmddHHMMSS}01_${INSTANCE}_$$";
Back to
Seekers of Perl Wisdom
|
|