Name

numElements( ) — return the number of elements in a block

Synopsis

$tb->numElements()

Returns the number of elements in the Text Block object. An element is created each time the addText( ) method is called.

Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.