sub BuildLeaf { my ( $hostname, $lo_add, $ospf_process, $ospf_area, $bgp_as, $bgp_pass, $VRF_names_aref, $spines_ip_aref ) = @_; # Do your stuff here. }