> -----Original Message-----
> From: John W. Krahn [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 18, 2006 11:48 AM
> To: Perl Beginners
> Subject: Re: Passing a hash to a function
> 
> Bjørge Solli wrote:
> > On Tuesday 18 July 2006 16:45, John W. Krahn wrote:
> >>Leonid Grinberg wrote:
> >>>sub function
> >>>{
> >>> my %operating_systems = &populate_hash(%operating_systems);
> >>  my %operating_systems = populate_hash(%operating_systems);
> >
> > Why do you want to remove the ampersand? In /the Llama book/, including
> the
> > ampersand is what they teach you.
> 
> Do you want to field that one Randal or Tom?  :-)

Or pick up a copy of Conway's 'Perl Best Practices'.  Read pages 175-177.  
There are a few subtle context-related issues that could arise from using the 
ampersand.

ry

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to