in reply to Re^2: perl file formatting
in thread perl file formatting
Are your input data columns really separated by a space? In the sample above it looks like it may be tabs, in which case your regexp won't match. Maybe try:
split(/\s+/, $_);
Hope this helps!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perl file formatting
by perlforsgs (Initiate) on Jan 13, 2017 at 13:22 UTC | |
by GotToBTru (Prior) on Jan 13, 2017 at 14:28 UTC | |
|
Re^4: perl file formatting
by perlforsgs (Initiate) on Jan 13, 2017 at 13:18 UTC |