http://www.perlmonks.org?node_id=1143245

noname has asked for the wisdom of the Perl Monks concerning the following question:

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!