I am developing a custom Cpanel addon. The new Cpaddon is working perfectly fine, but I need to make one last change for the config-files, and I need some advice on that... On CPanel's cPAddon screen, I have the following standard field: Installation URL: http://mydomain.com/my_path/ QUESTION: How can I extract ONLY "/my_path" portion from the above installation URL? What function should I use in .pm file to do this? NOTE: I know that the meta_info "installdir" will return "/home/mydomain/public_html/my_path/". But how exactly can I extract & use the value of "/my_path" into my config files? Thanks in advance for help.