in reply to Help for awk/regex/newbie
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.@tokens = split " ", $line;
-- Randal L. Schwartz, Perl hacker
|
|---|