On Fri, Aug 05, 2005 at 11:46:19AM -0500, [EMAIL PROTECTED] wrote:
> While trying to use say for debugging, I ran across an oddity. While I can:
> say "[EMAIL PROTECTED]";
> and
> say @some_array;
> this doesn't work:
> say "@some_array";
If you're expecting to see the contents of @some_array,
Hi,
[EMAIL PROTECTED] wrote:
> While trying to use say for debugging, I ran across an oddity. While
> I can:
> say "[EMAIL PROTECTED]";
> and
> say @some_array;
> this doesn't work:
> say "@some_array";
Pugs is correct here, you need to use [] or {} to interpolate
aggregates:
say "$sc
While trying to use say for debugging, I ran across an oddity. While I can:
say "[EMAIL PROTECTED]";
and
say @some_array;
this doesn't work:
say "@some_array";
Even stranger:
class SomeClass {
has $.scalar_attr;
has @.array_attr;
method trial () {
say "$.scalar_attr @.array_att