Net::LD...eDelete(3)
π NAME π
Okay bestie, welcome to the Net::LDAP::Control::TreeDelete page β the header shows it as Net::LD...eDelete(3) and it's User Contributed Perl Documentation. This module is literally the LDAPv3 Tree Delete control object. π
β¨
π SYNOPSIS π
Here's the whole vibe in code, no cap:
use Net::LDAP;
use Net::LDAP::Control::TreeDelete;
$ldap = Net::LDAP->new( "ldap.mydomain.eg" );
$treedel = Net::LDAP::Control::TreeDelete->new( critical => 1 );
$msg = $ldap->delete( 'o=University of Michigan,c=US',
control => [ $treedel ] );
die "error: ",$msg->code(),": ",$msg->error() if ($msg->code());
π¦ DESCRIPTION π¦
Net::LDAP::Control::TreeDelete provides an interface for the creation and manipulation of objects that represent the TreeDelete control as described by draft-armijo-ldap-treedelete-02.txt at https://tools.ietf.org/html/draft-armijo-ldap-treedelete-02. π«Ά
The way it slays: it allows the client to delete an entire subtree. π³π₯
The control is appropriate for LDAP delete operations [RFC4511] only, and inappropriate for all other operations. So don't try to use it for other stuff, bestie β it's not that girl for those ops. π
Its criticality may be TRUE or FALSE; it has no value. There is no corresponding response control. Periodt. π
πΈ CONSTRUCTOR ARGUMENTS πΈ
Since the TreeDelete control does not have any values, only the constructor arguments described in Net::LDAP::Control are supported. That's it β no secret extra args. πβ¨
π METHODS π
As there are no additional values in the control, only the methods in Net::LDAP::Control are available for Net::LDAP::Control::TreeDelete objects. Same energy, no extras. π
β SEE ALSO β
Go peek at these referenced besties:
Net::LDAPNet::LDAP::Control
π«Ά AUTHOR π«Ά
Peter Marschall <peter@adpm.de>. π
Please report any bugs, or post any suggestions, to the perl-ldap mailing list <perl-ldap@perl.org>. π¦
π COPYRIGHT π
Copyright (c) 2020 Peter Marschall. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
Sign-off: this page is from perl v5.42.0, dated 2024-01-02, and the footer label is Net::LD...eDelete(3). Stay iconic, bestie. ππ
π¦ where this page comes from
- opensuse-leap 16.0: perl-ldap 0.68-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms