Actually, @{$data}[0] and $data->[0] perform slightly different tasks. The former creates an array containing one element (hence the @ at the start), whilst the latter creates a scalar (hence the $ at the start).
In reply to Re: Re: Re: Re: Sad newbie question about Data::Dumper and array references..
by tomhukins
in thread Sad newbie question about Data::Dumper and array references..
by Clownburner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |