From: John Hahn Date: 2006-11-10T10:21:38+09:00 Subject: Trying to get pack to work with the * template character Ok, here's a snippet of my code. @image_array = Array.new @image = File.open("test.JPG", "rb") do |image| image.each_byte{|ch| @image_array << ch.to_s} end @temp = @image_array.pack("m*") when I display the value of @temp.. only the first element of @image_array has been packed.. any idea why the * isn't working? I thought the * meant that it would cycle through the entire array and convert each element... any ideas? -- Posted via http://www.ruby-forum.com/.