#!/usr/bin/perl -w use strict; my @pos; while (<>) { m/\s+/g; push @pos, pos(); } print @pos;
------- ------------- -------- ---------- -------------
In reply to (meonkeys: can't get every column)
by meonkeys
in thread Locate char in a string
by tilly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |