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!
In reply to Re^3: perl file formatting
by 1nickt
in thread perl file formatting
by perlforsgs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |