prompt> perl $foo = "cheese"; $bar = "stuff/$foo.txt"; print "Bar is [$bar]\n"; ^D Bar is [stuff/cheese.txt] #### prompt> perl $foo = "cheese"; $bar = 'stuff/$foo.txt'; print "Bar is [$bar]\n"; ^D Bar is [stuff/$foo.txt] #### $bar = "stuff/$foo1234"; # Bad $bar = "stuff/${foo}1234"; # Good