[LON-CAPA-dev] Extracting problems from page or sequence

Jerf lon-capa-dev@mail.lon-capa.org
Thu, 27 Feb 2003 10:13:49 -0500


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

H. K. Ng wrote:
| Two problems.
|
| 1.         my $parts = $curRes->parts();
|
| does not return anything?

Returns a reference to a list containing the parts.

On non-problems, it returns a reference to an empty list.

I am not aware of any problems with this, so please let me know if you
are still getting "nothing" back from ->parts(). (In perl, "nothing" is
an ambiguous term. "undef"? Empty list? etc.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+XistPaYWE58at8cRAq5XAJ9wLqh8BsuolqSxr/N+QUI705/HtACgiUpq
ZPlxutMn2RjsiQjBMmTVBTY=
=4JkX
-----END PGP SIGNATURE-----