in reply to Re^2: raw data formatting
in thread raw data formatting
Your version of Perl doesn't support the non-destructive substitution modifier (/r). Use the following:
print for map { s/\s+/$letter++ . ' '/e; $_ } @lines;
Will make that change in the original posting.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: raw data formatting
by teamassociated (Sexton) on Nov 16, 2012 at 02:24 UTC | |
by Kenosis (Priest) on Nov 16, 2012 at 03:24 UTC | |
by teamassociated (Sexton) on Nov 16, 2012 at 13:25 UTC | |
by marto (Cardinal) on Nov 16, 2012 at 13:40 UTC | |
by teamassociated (Sexton) on Nov 16, 2012 at 13:55 UTC | |
| |
by Kenosis (Priest) on Nov 16, 2012 at 14:15 UTC | |
by Anonymous Monk on Nov 16, 2012 at 14:18 UTC | |
| |
by teamassociated (Sexton) on Nov 16, 2012 at 15:07 UTC |