Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Subroutining for readability...

by scottstef (Curate)
on Nov 08, 2001 at 23:45 UTC ( [id://124150]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #############################################################
    ## This sub will pass in an entry to be adjusted and a value 
    ...
      $ldap -> modify ($dn2, add => {attribute_to_be_adjusted => $entry_to
    +_beadded}) 
         or die "Ya screwed up again!";}
    }
    
  2. or download this
    #############################################################
    ## This sub will pass in an directory name, binding usre/password,  
    ...
         or die "Ya screwed up again!";}
    
    }
    
  3. or download this
    &add_dir_one($entry_to_modify, $variable_that_is_adjusting);<br>
    &modify_dir_two($entry_to_modify, $variable_that_is_adjusting);<br>
    
  4. or download this
    &modify_generic_directory($dir, $dir_manager, $pass, $action_to_be_tak
    +en, $entry_to_be_adjusted, $attribute_to_be_adjusted, $value_to_adjus
    +t_with);<br>
    &modify_generic_directory($dir2, $dir_manager2, $pass2, $action_to_be_
    +taken2, $entry_to_be_adjusted, $attribute_to_be_adjusted, $value_to_a
    +djust_with);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://124150]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-03-28 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found