in reply to Help for awk/regex/newbie

To do it literally as awk does it, use:
@tokens = split " ", $line;
That enables "awk emulation mode", causing leading whitespace to be ignored. Without that, leading whitespace generates an empty first element, and the first non-whitespace stuff being the second element.

-- Randal L. Schwartz, Perl hacker