in reply to Re: Reading and storing multiple lines from a file
in thread Reading and storing multiple lines from a file

Thanks very much for both your responses, they both seem to do the job... but how would I go about capturing the values of each in single variables? Something like:
my $crhandle = $NX_NTF_vars{'cr' -> 'NX_NTF_PERSISTENT_ID'}; my $cnthandle= $NX_NTF_vars{'cnt' -> 'NX_NTF_PERSISTENT_ID'};

Replies are listed 'Best First'.
Re^3: Reading and storing multiple lines from a file
by shewang (Initiate) on Feb 19, 2013 at 20:29 UTC
    Ah, OK, I got it now:
    my $crHandle = $NX_NTF_vars{'cr'}{'NX_NTF_PERSISTENT_ID'}; my $cntHandle = $NX_NTF_vars{'cnt'}{'NX_NTF_PERSISTENT_ID'};

    Thanks very much for the help!