Re: Reference syntax...

2004-10-15 Thread Mark Goland
- Original Message - From: "John W. Krahn" <[EMAIL PROTECTED]> To: "Wiggins d Anconia" <[EMAIL PROTECTED]>; "Perl Beginners" <[EMAIL PROTECTED]> Sent: Friday, October 15, 2004 11:30 PM Subject: Re: Reference syntax... > Wiggins d A

Re: Reference syntax...

2004-10-15 Thread John W. Krahn
Wiggins d Anconia wrote: Usually when you need this is when you have multiple depths of references and the syntax becomes ambiguous to the interpreter. Something like, @{$hashref->{$scalar}} In this case without the {} the interpreter can't tell if you mean, Yes, the interpreter can tell because of

Re: Reference syntax...

2004-10-15 Thread Wiggins d Anconia
> I'm reading Perl ORM book right now, and I'd just like to know what is > generally more accepted... > Both are accepted since they work :-)... > This format: > > @$array > I generally stick with this until I need the below option. It is less cluttered and shorter to type (though the first i