Hi Dear Monks,
I have a rather stupid question, lately I had to type a lot of things like that:
$path=$var1.'/'.$var2; and so on,
also I know that the same can be written this way:
$path="${var1}/${var2}";
and it seem that the second way is a bit easier to type (at least for me).
Which one should I stick to ? Are there any benefits/problems with first or second method ?
Thank you!
In reply to filesystem path concatenation by noname
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |