develooper Front page | perl.perl5.porters | Postings from April 2006

Re: Perl Memory Management and Documentation

Thread Previous | Thread Next
Yitzchak Scott-Thoennes
April 2, 2006 12:51
Re: Perl Memory Management and Documentation
Message ID:
On Thu, Mar 30, 2006 at 04:50:28AM -0800, Gisle Aas wrote:
> Yitzchak Scott-Thoennes <> writes:
> > And length is for the length, not the buffer size.  So I don't think
> >    length($x) = 1000; 
> > is a good idea.
> But on the other hand it seems very similar to how assignment of
> 'keys %hash' currently works.  This assignment sets the internal
> HvMAX attribute instead of actually affecting HvKEYS.  It would be
> consistent to make assignment to length($str) affect SvLEN.

Good point.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About