> > # INPUTDATA is the filehandle through which you are getting the input > while (<INPUTDATA>) { > chomp; > s/^\s+//; > next if (m/^$/ || (1 .. /^NPROC/));
>what does the range thing do? >wouldn't just ... || /^NPROC/ be enough? I think that is how he eliminates lines up to the NPROC line. so in other words, next if range from line 1 to /^NPROC/. and it does work. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]