in reply to Re^3: Having an Issue updating hash of hashes
in thread Having an Issue updating hash of hashes
'id' => "$id",
Quite frequently around the monastery of late, I've noticed this practice (idiom? tic?) of (apparently) needlessly interpolating a scalar into a string. I don't understand it. Is there any benefit to be had from it? Where does it originate?
Update: When I originally posted this, I went looking for some examples of this 'frequent' practice and, of course, couldn't find any, got annoyed, gave up. Here are some recent examples: Perl function calls. and its cousin Perl : Convert a monolithic code to a function. They are both by grasshopper user786, but I'm sure he or she is not the only 'offender'. As you will see in the code of the linked posts, none of the interpolation has anything to do with avoidance of numification.
Also: System output variables and newline: print "$dcr"; statement at end;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Having an Issue updating hash of hashes
by boftx (Deacon) on Jul 06, 2014 at 01:17 UTC | |
|
Re^5: Having an Issue updating hash of hashes
by Laurent_R (Canon) on Jul 06, 2014 at 08:11 UTC |