in reply to Writing files in reverse..and more
Update davorg is correct - I fixed a few syntax errors. I had the "\n" on the command line I used to test, but apparently missed it when submitting the article. davorg's solution is better than mine - the map is a nice touch.print scalar( reverse substr( $_, 0, rindex($_," //") ) ) while (<>);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Writing files in reverse..and more
by davorg (Chancellor) on Jul 28, 2000 at 20:30 UTC | |
by cwest (Friar) on Jul 28, 2000 at 21:23 UTC | |
|
Re^2: Writing files in reverse..and more
by Anonymous Monk on Jul 16, 2004 at 02:05 UTC |