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