Help for this page

Select Code to Download


  1. or download this
    my $filename = "fileLocn/$var1_$var2.txt";
    
  2. or download this
    # escape the underscore
    my $fileName = "fileLocn/$var1\_$var2.txt";
    
    # or wrap the identifier in curly braces
    my $fileName = "fileLocn/${var1}_$var2.txt";