cesy: "Cesy" - An old-fashioned quill and ink (Default)
Cesy ([personal profile] cesy) wrote in [site community profile] dw_dev 2009-10-07 02:52 pm (UTC)

Notes on bug 581, if anyone's free to help:

I have scalar %$tags which tells me the number of items in $tags, so I can construct appropriate if statements, and values %$tags gets the actual values. How can I get the values of only the first 10 items? Is there syntax to say "get the nth item from this array"? The relevant line is currently:
$out .= LJ::ehtml(join ', ', sort map { $_->{name} } values %$tags);
which gets all the items in the array.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org