[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Re: Use the proper syntax, Luke



>Strider <Strider@clarityconnect.com> writes:
>[snip]
>}
>}$name = $contents['name'];
>}$addy1 = $contents['addy1'];
>}$addy2 = $contents['addy2'];
>}$city = $contents['City'];
>}$state = $contents['State'];
>}$zip = $contents['Zip'];
>}$zip2 = $contents['Zip2'];
>}$phone = $contents['Phone'];
>}$email = $contents['E-mail'];
>}$category = $contents['category'];
>}$subject = $contents['Subject'];
>}$info = $contents['info'];
>}$price = $contents['price'];
>}$time = $contents['time'];
>
>Are these supposed to be hashes?  If so, write them properly, i.e.
>$contents{'category'}.  Lord knows what integers these strings get
>converted into, but I'll bet they're huge.  No wonder you're running out of
>memory, @contents must be enormous.

Of course... see, I tried using (), and that gave me errors. you know,
sometimes I think I've checked everything I can in the manuals (and I've
been programming for years, believe it or not) and then I make a stupid
mistake like that. I guess nobody's perfect. =)

-Seraph



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch