I have 30 files called graph_set_1.out --> graph_set_30.out
How would I modify the following code so to open each one consecutively.
I don't neccessarily have to have 30 files, so the I need to be general.
I have tried adding a counter but with no luck ? e.g. (graph_set_$i.out)
#!/usr/local/bin/perl
$in_filename = "graph_set_1.out";
open (IN,"$in_filename") or die "Can't open $in_filename:$!\n";