in reply to On Solving a Simple Problem, and Appreciating the Complexity of Perl
Simpler than scalar(): ? '*'x8 : ' 'x8
Randomly, you will not see this problem in perl6: in it the operator x treats its LHS as a scalar and the analagous operator xx treats its LHS as a list.
|
|---|