I don't understand what this is meaning. i have searched around but still can't figure out what the # sign is used for in perl regex like it is being used here. while (/#\s*($cmds_regexp)\s*$/) { If I can figure this out then I will have the IPS module working for rancid using the default clogin/rancid with only minor tweaks.