sub help { //the rest of the code was gone, because i had copied and pasted to the top of the script. #### sub help() { print <<"EOF"; Possible Starting Arguments for ldapadmin: blah blah EOF } #### print " //paste help text here which was copied ";