Help for this page

Select Code to Download


  1. or download this
    while( my $file = <graph_set_*.out> ) {
        next unless $file =~ m[graph_set_[123]?[0-9].out];
    ...
        #Do stuff
        close IN;
    }
    
  2. or download this
    for $file (sort{ $a=~/(\d+)/ <=> $b=~/(\d+)/ } <graph_set_*.out> ) {
        open...
        ....
        close...
    }