On 5/20/2011 6:08 AM, Mark D. Nagel wrote: > How about this instead? > > while ((my $in =<STDIN>) { > chomp($in); > last if $in eq "."; > print NFPROFILE $in; > syslog('debug', "profile opts: > $in for profiler $i"); > }
Sorry for the typo in that -- should be "while (my $in = <STDIN>) {" on the first line. Mark ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Nfsen-discuss mailing list Nfsen-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfsen-discuss