in reply to Re^2: Parsing output from a 'system' call into objects?
in thread Parsing output from a 'system' call into objects?

What no example this time to prove it? I thought you always wanted to see examples

I prefer to make it clear when a value comes from a variable rather than infer it does via interpolation. It also means it is clearer when i say

my $thing='dog'; print 'many '.$thing.'s'."\n";
rather than the more obscure
my $thing='dog'; print "many ${thing}s\n";
without getting caught by
my $thing='dog'; print "many $things\n";
Being clear is a good habit i started about 4 decades ago, after trying to read other peoples APL code. I mostly say my $n=scalar(@array); for clarity too.

You are right about calling it $array, it started because eval142 said he wanted an indexed array of objects.