laziness, impatience, and hubris | |
PerlMonks |
Re^4: Simple awk questionby jeffa (Bishop) |
on Jun 05, 2014 at 19:16 UTC ( [id://1088900]=note: print w/replies, xml ) | Need Help?? |
Don't assign the return of print, just assign the value of the index array element: But why not just use Perl's awk mode instead?
jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Seekers of Perl Wisdom
|
|