in reply to Re: Grep & Regex Question
in thread Grep & Regex Question
Excellent. Got it to work! I'm just curious about one thing. In order to use the user input prompt to assign the variable, I had to change it to:
chomp($position = <>);
Why do you have to add chomp in order to get the user input to work normally? It looks like it adds a new line after a user input's data for some reason if you just do $position = <>;
I love it when a program comes together - jdhannibal
In Section
Seekers of Perl Wisdom