Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Writing the elements of an array to a fileby choroba (Cardinal) |
on Aug 31, 2015 at 15:20 UTC ( [id://1140545]=note: print w/replies, xml ) | Need Help?? |
The shortest and most effective way is to use a quantifier in pack:
You should have thought of a loop at least:
Update: If you need pack, the array doesn't contain binary data. It contains the numbers.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|