Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Feedback Appreciated on text-parsing, SQL querying subroutineby saberworks (Curate) |
on May 31, 2006 at 19:25 UTC ( [id://552910]=note: print w/replies, xml ) | Need Help?? |
The above code can be written as my ( $did1,$did2,$score1,$score2 ) = (split("\t", $_))[0..3];As a curiousity, how come you are subscripting split? Split returns a list, so he should be safe with just... Right?
In Section
Seekers of Perl Wisdom
|
|