require 'rubygems'
require 'cf'

File.open("utente").each() do |line|
stringArray = line.split()
puts FiscalCode.calc("#{stringArray[0]}", "#{stringArray[1]}", "#{stringArray[2]}", "#{stringArray[3]}", "#{stringArray[4]}", "#{stringArray[5]}", "#{stringArray[6]}")
end

puts FiscalCode.calc("juan","carlos",3,2,57,"M","usa")

______________
utente:
juan carlos 3 2 57 M usa

_________
gem install itcf
___________
I want that FiscalCode takes my variables from a file(utente) and make his work, the end line of code is the correct form of giving the data to FiscalCode..