In 0.12 the children() function used to return the id of the folder as the second value as described in the docs:
my( $children, $parent ) = $gd->children( "/path/to" );
If the caller now wants to e.g. insert a file into the directory, its ID is available in $parent.
In 0.13 it now returns the id of the parent of the folder, instead. The attached patch changes it to behave as it did before.
Migrated from rt.cpan.org#123713 (status was 'new')
Requestors:
Attachments:
From tim@cpanel.net on 2017-11-22 19:38:13 :