in reply to Not an ARRAY reference error
You want
or@{ $self->{column} } # Infix notation
$self->{column}->@* # Postfix notation
When using the infix dereferencing syntax, the braces can only be omitted when the block amounts to a simple scalar.
@{ $ref } # ok Derefs $ref @$ref # ok Derefs $ref @{ $self->{column} } # ok Derefs $self->{column} @$self->{column} # XXX Derefs $self
See Mini-Tutorial: Dereferencing Syntax.
Seeking work! You can reach me at ikegami@adaelis.com
|
|---|