in reply to How to insert a file with another file with comma separated??

Hi sumathigokul,

@enabled_nets holds all the signals from enabled_nets.txt therefore just replace the whole inner while (IN2) with this:

print OUT join(',', @enabled_nets) . ", enable_c\n";