in reply to Re^2: printing values within a given range
in thread printing values within a given range
The OP only opened the first file for getting input, and it could imply that other parameters on the command line could be used for other reasons. OTOH, my implementation reads from all "files" in the command line, not only the first one.
Of course this is a subtlety in the particular case, but I hope know that everyone here always strives to post as little code as possible to explain h(er|is) problem, and using my solution inside a more elaborate enviroment requires some kind of attention.
Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')
Don't fool yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: printing values within a given range
by blazar (Canon) on May 03, 2005 at 15:15 UTC | |
by polettix (Vicar) on May 03, 2005 at 15:17 UTC |