|Syntactic Confectionery Delight|
filesystem path concatenationby noname (Sexton)
|on Sep 28, 2015 at 14:02 UTC||Need Help??|
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:
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 ?