in reply to Another Challenge: Splitting data into chunks part2

blackadder, I don't get this post. Your code line:

while(<DATA>){ #I asssumed this $Info = $_; #this also my ($var1, $var2); if ($Info =~ /show running-config/)

Doesn't match anything in your dataset. Did you post the wrong dataset? I do not see the literal words 'show running-config' anywhere in the data you posted. Is it supposed to be a command with backticks (e.g. `show running-config`)?

Celebrate Intellectual Diversity