I came across with these two lines, and though I've been trying to figure out what they do, I'm still in doubt about their meaning in the code. The piece of code I am talking about is:
my $mapped_from = ($num_phones_in == 60)? = $1 : $2; my $mapped_to = ($num_phones_out == 48)? = $2 : $3;
I don't really understand what a variable between parentheses followed by a question mark do ()?. And also I don't know what those two numbers with dollar sign (as variables) separated by colon mean.
To give you more details about the code, in this part I'm working with a file that look like this:
ah X / au u aU
Where the columns have 60, 48 and 39 lines respectively. I would really appreciate if someone could give me a clue since I am a bit lost.