I find that I get a zero-length field for $headers[0] and don't
understand why.

Trim the leading and trailing spaces, like this:
s/^\s+|\s+$//g;


Lastly, does /\s+/ mean 2 or more spaces or does it mean one or more spaces,
'+' "means one or more";  '*' means "zero or more";   They are post-fix.
/a+/ means "one or more 'a'"


[sathish]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to