in reply to Re: split file and put contents in variables?
in thread split file and put contents in variables?

Moeover, don't get into the bad habit of using "$a" for anything other than sort, q.v.   and even more emphatically, do use meaningful names for $var.

That will cost you a very small bit of extra effort when writing the program... and save you or some future maintainer a huge PITA when trying to understand or modify your program some-when in the distant future... like, say, next week.


Come, let us reason together: Spirit of the Monastery