in reply to Simple Problem getting me Stumped

You could use something simple like the power of $_ and a while like this:
open NCNODE, "/path/nervecenter.node" or die "Error opening Nerve Center Node file ($!)"; while (<NCNODE>) { chomp; if (/read_community/) { print; } } close NCNODE;

-Kurt

Replies are listed 'Best First'.
Re: Re: Simple Problem getting me Stumped
by CongoGrey (Sexton) on Jul 01, 2003 at 17:33 UTC
    Thanks KPeter that way worked like a champ. Thanks for your help.