in reply to Sed to perl conversion-- flipping lines in a file
my @lines = <DATA>; print reverse @lines; __DATA__ 1. text'1' 2. text'2' 3. text'3'
-Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Sed to perl conversion-- flipping lines in a file
by Limbic~Region (Chancellor) on Feb 17, 2004 at 22:36 UTC | |
by NovMonk (Chaplain) on Feb 18, 2004 at 17:50 UTC | |
by Limbic~Region (Chancellor) on Feb 18, 2004 at 18:52 UTC | |
by NovMonk (Chaplain) on Feb 19, 2004 at 21:46 UTC | |
by Limbic~Region (Chancellor) on Feb 19, 2004 at 21:57 UTC |