in reply to Re: Complex Data Structure
in thread Complex Data Structure

my ($probeset_id, $origin, $probeseq, $pip, $gc, $affyscore) = split / +\t/;

is a list assignment. A hash slice assignment looks like:

@hash{qw(this that the other)} = qw{some value or another);

Perl reduces RSI - it saves typing

Replies are listed 'Best First'.
Re^3: Complex Data Structure
by oko1 (Deacon) on Sep 15, 2008 at 16:57 UTC

    Err... trying to do too many things at once. I started by demonstrating a hash slice, realized that it wasn't the best solution, changed the code, and forgot to change the comments. Thanks for catching it!

    
    -- 
    Human history becomes more and more a race between education and catastrophe. -- HG Wells