in reply to Subroutine argument list

You have a variable of the same name ($my_line_in) at two different scopes. The while loop uses my to localize that variable to the scope enclosed by the loop. It's value is not seen outside of the loop (or inside the sub's). Removing that "my" will give you what you probably expect to see, although it is not the best solution.

Replies are listed 'Best First'.
Re^2: Subroutine argument list
by Editorial_Response (Initiate) on Nov 16, 2011 at 01:37 UTC
    Thank you. I will take a close look at those documents.